use bottom sheet for playbar
This commit is contained in:
parent
feb08c9ba5
commit
1a515c719c
1 changed files with 8 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue