From 08e13e7cc2e4a9cb22b40befa2f020b5b5d5091a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 13 Mar 2015 13:39:51 +0100 Subject: [PATCH] remove the settings area --- containments/homescreen/contents/ui/main.qml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/containments/homescreen/contents/ui/main.qml b/containments/homescreen/contents/ui/main.qml index 613d5da0..b776405f 100644 --- a/containments/homescreen/contents/ui/main.qml +++ b/containments/homescreen/contents/ui/main.qml @@ -165,13 +165,13 @@ Item { snapMode: GridView.SnapToRow onFlickingChanged: { - if (!draggingVertically && contentY < -root.height*2) { + if (!draggingVertically && contentY < -headerItem.height + root.height) { scrollAnim.to = Math.round(contentY/root.height) * root.height scrollAnim.running = true; } } onDraggingVerticallyChanged: { - if (!draggingVertically && contentY < -root.height*2) { + if (!draggingVertically && contentY < -headerItem.height + root.height) { scrollAnim.to = Math.round(contentY/root.height) * root.height scrollAnim.running = true; } @@ -224,16 +224,6 @@ Item { } } } - Rectangle { - color: Qt.rgba(0, 0, 0, 0.6) - Layout.fillWidth: true - Layout.minimumHeight: root.height - PlasmaComponents.Label { - anchors.centerIn: parent - text: "Settings Area" - font.pointSize: 20 - } - } ColumnLayout { id: appletsLayout Layout.minimumHeight: Math.max(root.height, Math.round(Layout.preferredHeight / root.height) * root.height)