use bottom sheet for playbar

This commit is contained in:
Erica Z 2024-10-19 15:05:43 +02:00
parent feb08c9ba5
commit 1a515c719c

View file

@ -6,10 +6,11 @@ template $UiWindow: Adw.ApplicationWindow {
default-width: 800; default-width: 800;
default-height: 600; default-height: 600;
content: Box { content: Adw.BottomSheet bottom_sheet {
orientation: vertical; [content]
Adw.OverlaySplitView { Adw.OverlaySplitView {
margin-bottom: bind bottom_sheet.bottom-bar-height;
vexpand: true; vexpand: true;
[sidebar] [sidebar]
@ -88,7 +89,10 @@ template $UiWindow: Adw.ApplicationWindow {
} }
} }
[bottom] [sheet]
Box {}
[bottom-bar]
CenterBox { CenterBox {
styles [ styles [
"toolbar", "toolbar",