Compare commits

...

3 commits

Author SHA1 Message Date
8e1edd39c8 disable can-open 2024-10-19 16:49:40 +02:00
1a515c719c use bottom sheet for playbar 2024-10-19 15:05:43 +02:00
feb08c9ba5 show separators in play queue 2024-10-19 14:53:49 +02:00
2 changed files with 10 additions and 3 deletions

View file

@ -16,6 +16,7 @@ template $UiPlayQueue: Adw.NavigationPage {
ScrolledWindow {
ListView view {
show-separators: true;
single-click-activate: true;
activate => $on_row_activated ();

View file

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