remove the settings area

This commit is contained in:
Marco Martin 2015-03-13 13:39:51 +01:00
parent 1865651723
commit 08e13e7cc2

View file

@ -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)