summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-22 15:48:29 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-22 15:48:29 (GMT)
commita6e0ae822abf6ffdbaa2c1db3f2cd296f3062d79 (patch)
tree8c55383ebc3b2cac232c3337d233dc5cf9429aab
parent6401c722010995385c69d6f979df06216c4cff4a (diff)
Add a margin on top and bottom of the categoryview
-rw-r--r--discover/qml/CategoryView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/qml/CategoryView.qml b/discover/qml/CategoryView.qml
index d15c32a..3ad8c68 100644
--- a/discover/qml/CategoryView.qml
+++ b/discover/qml/CategoryView.qml
@@ -42,6 +42,8 @@ GridItem
cellWidth: app.isCompact ? width : width/Math.floor(width/100)
cellHeight: app.isCompact ? 35 : 60
boundsBehavior: Flickable.StopAtBounds
+ header: Item { height: 10; width: 10 }
+ footer: header
delegate: MouseArea {
id: categoryItem