From a363da2abed09048fa9e6d2002ac5259b38dfd6e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 18 Dec 2015 13:49:33 +0100 Subject: [PATCH] try harder to make the sliding panel take all screen --- containments/panel/contents/ui/SlidingPanel.qml | 5 +++++ 1 file changed, 5 insertions(+) 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; } }