summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsView.qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-10-19 11:22:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-19 14:55:30 -0400
commit53ed1c7326a6633b15e24f1f8f486a3db0f444ea (patch)
tree0e9ad8c0b4a34c957e45d316bf156c3e460e3fbf /mobile-widgets/qml/DiveDetailsView.qml
parent49771d8748a0a47dca48426fd93288f746655da4 (diff)
downloadsubsurface-53ed1c7326a6633b15e24f1f8f486a3db0f444ea.tar.gz
QML-UI: some more layout repair (dive details)
As in a525fff1125, also the dive details top data was not nicely positioned any more due to the deprecated and removed Kirigami.Label. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index f9a292ed5..3197bb922 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -71,7 +71,9 @@ Item {
anchors {
left: locationText.left
top: locationText.bottom
+ topMargin: Kirigami.Units.smallSpacing
bottom: numberText.bottom
+
}
Controls.Label {
@@ -96,12 +98,14 @@ Item {
anchors {
right: parent.right
top: locationText.bottom
+ topMargin: Kirigami.Units.smallSpacing
}
}
Row {
anchors {
left: dateRow.left
top: numberText.bottom
+ topMargin: Kirigami.Units.smallSpacing
}
Controls.Label {
id: ratingText
@@ -144,6 +148,7 @@ Item {
anchors {
right: numberText.right
top: numberText.bottom
+ topMargin: Kirigami.Units.smallSpacing
}
Controls.Label {
id: visibilityText