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>
This commit is contained in:
Dirk Hohndel 2016-04-01 16:56:16 -05:00
parent c117a7be6e
commit 80bfccdf33

View file

@ -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