add header in sidebar

This commit is contained in:
Mathis Brüchert 2021-05-25 19:03:58 +00:00
parent 66ff1337be
commit 76fbfa35a4
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
isMenu: false
modal: !wideScreen || Kirigami.Settings.isMobile
header: Kirigami.AbstractApplicationHeader {
visible: wideScreen
}
// make room at the bottom for miniplayer
handle.anchors.bottomMargin: (AudioManager.entry ? (footerLoader.item.contentY == 0 ? miniplayerSize : 0) : 0) + Kirigami.Units.smallSpacing + tabBarActive * tabBarHeight
handleVisible: !AudioManager.entry || footerLoader.item.contentY === 0