Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window: Port to modern widgets #3674

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
bottle-details-view-subpage: Use AdwToolbarView
TheEvilSkeleton committed Jan 17, 2025
commit a4b7855d19f2fb9cc52fd09aeb91eaa02b48f98f
11 changes: 4 additions & 7 deletions bottles/frontend/bottle-details-view-subpage.blp
Original file line number Diff line number Diff line change
@@ -5,9 +5,8 @@ template $BottleDetailsViewSubpage: Adw.NavigationPage {
title: "Subpage";
tag: "subpage";

child: Box content {
orientation: vertical;

child: Adw.ToolbarView {
[top]
Adw.HeaderBar content_headerbar {
show-start-title-buttons: false;

@@ -30,11 +29,9 @@ template $BottleDetailsViewSubpage: Adw.NavigationPage {
}
}

Stack stack_bottle {
content: Stack stack_bottle {
transition-type: crossfade;
hexpand: true;
vexpand: true;
}
};
};
}