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-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",
|
||||||
|
|
Loading…
Reference in a new issue