From 1a515c719ca08126b432c438dcecc6376e3e75a6 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 19 Oct 2024 15:05:43 +0200 Subject: [PATCH] use bottom sheet for playbar --- src/ui/window.blp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ui/window.blp b/src/ui/window.blp index f9f806c..3d76da9 100644 --- a/src/ui/window.blp +++ b/src/ui/window.blp @@ -6,10 +6,11 @@ template $UiWindow: Adw.ApplicationWindow { default-width: 800; default-height: 600; - content: Box { - orientation: vertical; - + content: Adw.BottomSheet bottom_sheet { + [content] Adw.OverlaySplitView { + margin-bottom: bind bottom_sheet.bottom-bar-height; + vexpand: true; [sidebar] @@ -88,7 +89,10 @@ template $UiWindow: Adw.ApplicationWindow { } } - [bottom] + [sheet] + Box {} + + [bottom-bar] CenterBox { styles [ "toolbar",