summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-01 15:39:41 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-01 15:39:41 (GMT)
commit55052e80e393d3de35b8b5d157d67c05e15804b8 (patch)
tree9fefaebe3ae9715db810fbe039f63b73e0611982
parent87d3f182e0494f4c5ec34cd979ed8cf045a2e8c4 (diff)
Margins polishing
-rw-r--r--discover/qml/ApplicationsList.qml1
-rw-r--r--discover/qml/ApplicationsTop.qml12
2 files changed, 8 insertions, 5 deletions
diff --git a/discover/qml/ApplicationsList.qml b/discover/qml/ApplicationsList.qml
index c76e32d..eae2961 100644
--- a/discover/qml/ApplicationsList.qml
+++ b/discover/qml/ApplicationsList.qml
@@ -56,6 +56,7 @@ ScrollView {
RowLayout {
id: lowLayout
anchors {
+ leftMargin: 2
left: parent.left
right: parent.right
}
diff --git a/discover/qml/ApplicationsTop.qml b/discover/qml/ApplicationsTop.qml
index d8eca3d..7c63681 100644
--- a/discover/qml/ApplicationsTop.qml
+++ b/discover/qml/ApplicationsTop.qml
@@ -61,7 +61,10 @@ ColumnLayout {
RowLayout {
id: layo
- anchors.fill: parent
+ anchors {
+ fill: parent
+ margins: 2
+ }
QIconItem {
Layout.fillHeight: true
Layout.minimumWidth: height
@@ -69,9 +72,11 @@ ColumnLayout {
}
ColumnLayout {
Layout.fillHeight: true
+ Layout.fillWidth: true
+
Label {
id: nameItem
- Layout.fillHeight: true
+ Layout.fillWidth: true
text: name
elide: Text.ElideRight
verticalAlignment: Text.AlignVCenter
@@ -85,9 +90,6 @@ ColumnLayout {
opacity: 0.6
}
}
- Item {
- Layout.fillWidth: true
- }
Loader {
Layout.fillHeight: true
Layout.minimumWidth: item.width