summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-22 15:48:05 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-22 15:48:05 (GMT)
commit6401c722010995385c69d6f979df06216c4cff4a (patch)
treec0f6c903d68d99b0132a959407d95adff35bfb8f
parentac8915c0d99d928bc69818d90ffd65681a58569f (diff)
Change grid item border size to 1
-rw-r--r--discover/qml/ApplicationsList.qml2
-rw-r--r--discover/qml/ApplicationsTop.qml2
-rw-r--r--discover/qml/CategoryDisplay.qml2
-rw-r--r--discover/qml/GridItem.qml2
-rw-r--r--discover/qml/PresentUpdatesPage.qml2
-rw-r--r--discover/qml/SourcesPage.qml2
6 files changed, 6 insertions, 6 deletions
diff --git a/discover/qml/ApplicationsList.qml b/discover/qml/ApplicationsList.qml
index 0cf7ef7..078032e 100644
--- a/discover/qml/ApplicationsList.qml
+++ b/discover/qml/ApplicationsList.qml
@@ -37,7 +37,7 @@ ScrollView {
id: view
snapMode: ListView.SnapToItem
currentIndex: -1
- spacing: -2 //this should be the same as -GridItem.border.width
+ spacing: -1 //this should be the same as -GridItem.border.width
delegate: GridItem {
id: delegateArea
diff --git a/discover/qml/ApplicationsTop.qml b/discover/qml/ApplicationsTop.qml
index 28fc1ec..a45ec03 100644
--- a/discover/qml/ApplicationsTop.qml
+++ b/discover/qml/ApplicationsTop.qml
@@ -43,7 +43,7 @@ ColumnLayout {
font.weight: Font.Bold
Layout.minimumHeight: paintedHeight*1.5
}
- spacing: -2 //GridItem.border.width
+ spacing: -1 //GridItem.border.width
Repeater {
id: rep
model: PaginateModel {
diff --git a/discover/qml/CategoryDisplay.qml b/discover/qml/CategoryDisplay.qml
index d048c50..e4b91c6 100644
--- a/discover/qml/CategoryDisplay.qml
+++ b/discover/qml/CategoryDisplay.qml
@@ -83,7 +83,7 @@ ConditionalLoader
Layout.preferredWidth: page.width/2
Layout.maximumHeight: top.height
- spacing: -2
+ spacing: -1
Label {
text: i18n("Categories")
diff --git a/discover/qml/GridItem.qml b/discover/qml/GridItem.qml
index 8e24d7e..984e6e0 100644
--- a/discover/qml/GridItem.qml
+++ b/discover/qml/GridItem.qml
@@ -38,7 +38,7 @@ MouseArea {
anchors.fill: parent
color: listItem.containsMouse || listItem.pressed ? listItem.highlightColor : palette.button
border.color: palette.mid
- border.width: 2
+ border.width: 1
}
Item {
diff --git a/discover/qml/PresentUpdatesPage.qml b/discover/qml/PresentUpdatesPage.qml
index 469b65e..98627ac 100644
--- a/discover/qml/PresentUpdatesPage.qml
+++ b/discover/qml/PresentUpdatesPage.qml
@@ -80,7 +80,7 @@ ScrollView
delegate: ColumnLayout {
id: col
- spacing: -2
+ spacing: -1
readonly property var currentRow: index
RowLayout {
Layout.minimumHeight: 32
diff --git a/discover/qml/SourcesPage.qml b/discover/qml/SourcesPage.qml
index e5f1b92..980bdb0 100644
--- a/discover/qml/SourcesPage.qml
+++ b/discover/qml/SourcesPage.qml
@@ -62,7 +62,7 @@ Item {
id: sourceDelegate
x: page.proposedMargin
width: Math.min(app.actualWidth, view.viewport.width)
- spacing: -2
+ spacing: -1
property QtObject sourceBackend: model.sourceBackend
AddSourceDialog {