summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 16:56:16 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 16:56:16 -0500
commit80bfccdf33e527ff759073d34032a695604e7cf4 (patch)
tree1bb00691d0a7bee3d2a3c554f993988059dc3236 /qt-mobile
parentc117a7be6ef9a07974235439f39b320a203d9df4 (diff)
downloadsubsurface-80bfccdf33e527ff759073d34032a695604e7cf4.tar.gz
QML UI: better visual arrangement of the dive list
Make the lines that together form one dive move closer together so the dives visually stand out more. (this also includes small white space change, oops) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/DiveList.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index b689f0108..042376c37 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0
Kirigami.ScrollablePage {
id: page
objectName: "DiveList"
- title: "Subsurface-mobile"
+ title: "Subsurface-mobile"
background: Rectangle {
color: Kirigami.Theme.viewBackgroundColor
}
@@ -76,6 +76,7 @@ Kirigami.ScrollablePage {
leftMargin: horizontalPadding
right: parent.right
rightMargin: horizontalPadding
+ topMargin: - Kirigami.Units.smallSpacing * 2
bottom: numberText.bottom
}
Kirigami.Label {
@@ -108,6 +109,7 @@ Kirigami.ScrollablePage {
anchors {
right: parent.right
top: locationText.bottom
+ topMargin: - Kirigami.Units.smallSpacing * 2
}
}
}
@@ -159,7 +161,7 @@ Kirigami.ScrollablePage {
}
}
- ScrollView {
+ ScrollView {
id: startPageWrapper
anchors.fill: parent
opacity: (diveListView.count > 0 && (credentialStatus == QMLManager.VALID || credentialStatus == QMLManager.VALID_EMAIL)) ? 0 : 1