summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-26 15:04:46 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-26 15:04:46 (GMT)
commitcdc24d3516b565bbdbe906147ee6cdd8480ccd0b (patch)
tree5599c2b420e32ece16f85d392bfb3e336b473e1d
parent2c0334e0c6b586a1f3c219d5310718a3afcba8e4 (diff)
Fix margins in the page header
Only leave them on the side
-rw-r--r--discover/qml/PageHeader.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/discover/qml/PageHeader.qml b/discover/qml/PageHeader.qml
index c0f61b5..cada7a8 100644
--- a/discover/qml/PageHeader.qml
+++ b/discover/qml/PageHeader.qml
@@ -21,7 +21,7 @@ import QtQuick 2.0
Item {
id: root
- readonly property real internalMargin: 5
+ property real internalMargin: 5
default property alias content: paddingItem.data
height: 50 + item.anchors.topMargin
@@ -39,6 +39,8 @@ Item {
anchors {
fill: parent
margins: root.internalMargin
+ topMargin: 0
+ bottomMargin: 0
}
}
}