Compare commits
3 commits
cc2f9f1466
...
8e1edd39c8
Author | SHA1 | Date | |
---|---|---|---|
8e1edd39c8 | |||
1a515c719c | |||
feb08c9ba5 |
2 changed files with 10 additions and 3 deletions
|
@ -16,6 +16,7 @@ template $UiPlayQueue: Adw.NavigationPage {
|
|||
|
||||
ScrolledWindow {
|
||||
ListView view {
|
||||
show-separators: true;
|
||||
single-click-activate: true;
|
||||
|
||||
activate => $on_row_activated ();
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue