diff --git a/containments/homescreens/folio/qml/main.qml b/containments/homescreens/folio/qml/main.qml index ad218e07..a5df4cd7 100644 --- a/containments/homescreens/folio/qml/main.qml +++ b/containments/homescreens/folio/qml/main.qml @@ -431,8 +431,14 @@ ContainmentItem { homeScreen: folioHomeScreen readonly property real popupWidth: Math.min(Kirigami.Units.gridUnit * 28, parent.width * 0.5) - readonly property real popupHeight: Math.min(Kirigami.Units.gridUnit * 32, parent.height * 0.7) readonly property real dockHeight: MobileShell.Constants.convergenceDockHeight + readonly property real popupTopY: MobileShell.Constants.topPanelHeight + + MobileShell.Constants.convergenceWorkspaceFrameThickness + + Kirigami.Units.smallSpacing + readonly property real popupBottomY: parent.height + - dockHeight + - MobileShell.Constants.convergenceWorkspaceFrameThickness + readonly property real popupHeight: Math.max(0, popupBottomY - popupTopY) width: popupWidth height: popupHeight @@ -444,7 +450,7 @@ ContainmentItem { x: Kirigami.Units.smallSpacing y: (opacity > 0) - ? parent.height - dockHeight - popupHeight - Kirigami.Units.smallSpacing + animationY + ? popupTopY + animationY : parent.height headerHeight: Math.round(Kirigami.Units.gridUnit * 3)