mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
homescreen: Fix lack of margin for taskpanel on landscape in appdrawer
This commit is contained in:
parent
4057122fb0
commit
97e1e4d53c
1 changed files with 10 additions and 6 deletions
|
|
@ -116,12 +116,14 @@ Item {
|
|||
HomeScreenComponents.ListViewAppDrawer {
|
||||
anchors.fill: parent
|
||||
topPadding: plasmoid.availableScreenRect.y
|
||||
|
||||
// pad for navbar
|
||||
rightPadding: MobileShell.TaskPanelControls.isPortrait ? 0 : MobileShell.TaskPanelControls.panelWidth
|
||||
bottomPadding: plasmoid.screenGeometry.height - plasmoid.availableScreenRect.height - plasmoid.availableScreenRect.y
|
||||
|
||||
closedPositionOffset: favoriteStrip.height
|
||||
|
||||
headerItem: Loader {
|
||||
sourceComponent: headerComponent
|
||||
}
|
||||
headerItem: Loader { sourceComponent: headerComponent }
|
||||
headerHeight: root.headerHeight
|
||||
}
|
||||
}
|
||||
|
|
@ -131,12 +133,14 @@ Item {
|
|||
HomeScreenComponents.GridViewAppDrawer {
|
||||
anchors.fill: parent
|
||||
topPadding: plasmoid.availableScreenRect.y
|
||||
|
||||
// pad for navbar
|
||||
rightPadding: MobileShell.TaskPanelControls.isPortrait ? 0 : MobileShell.TaskPanelControls.panelWidth
|
||||
bottomPadding: plasmoid.screenGeometry.height - plasmoid.availableScreenRect.height - plasmoid.availableScreenRect.y
|
||||
|
||||
closedPositionOffset: favoriteStrip.height
|
||||
|
||||
headerItem: Loader {
|
||||
sourceComponent: headerComponent
|
||||
}
|
||||
headerItem: Loader { sourceComponent: headerComponent }
|
||||
headerHeight: root.headerHeight
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue