diff --git a/containments/panel/contents/ui/SlidingPanel.qml b/containments/panel/contents/ui/SlidingPanel.qml index 3112f759..4e1c9686 100644 --- a/containments/panel/contents/ui/SlidingPanel.qml +++ b/containments/panel/contents/ui/SlidingPanel.qml @@ -33,6 +33,9 @@ FullScreenPanel { color: "transparent" property alias contents: contentArea.data + width: Screen.width + height: Screen.height + function updateState() { var delta = offset - mouseArea.startOffset; if (delta > units.gridUnit * 8) { @@ -49,6 +52,8 @@ FullScreenPanel { if (visible) { mouseArea.state = "draggingFromClosed"; mouseArea.startOffset = units.gridUnit * 4; + window.width = Screen.width; + window.height = Screen.height; } }