Skip to content

Commit ae9bfc9

Browse files
bottle-details-view-subpage: Use AdwToolbarView
1 parent cfa5dad commit ae9bfc9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

bottles/frontend/bottle-details-view-subpage.blp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ template $BottleDetailsViewSubpage: Adw.NavigationPage {
55
title: "Subpage";
66
tag: "subpage";
77

8-
child: Box content {
9-
orientation: vertical;
10-
8+
child: Adw.ToolbarView {
9+
[top]
1110
Adw.HeaderBar content_headerbar {
1211
show-start-title-buttons: false;
1312

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

33-
Stack stack_bottle {
32+
content: Stack stack_bottle {
3433
transition-type: crossfade;
35-
hexpand: true;
36-
vexpand: true;
37-
}
34+
};
3835
};
3936
}
4037

0 commit comments

Comments
 (0)