diff --git a/containments/homescreen/package/contents/ui/HomeScreen.qml b/containments/homescreen/package/contents/ui/HomeScreen.qml index a6946107..0ff33509 100644 --- a/containments/homescreen/package/contents/ui/HomeScreen.qml +++ b/containments/homescreen/package/contents/ui/HomeScreen.qml @@ -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 } }