summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-11 06:44:19 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-14 12:57:08 -0700
commit6f96edd766e4f782b0d7ed8cf960a097860b0c7f (patch)
treec96b7b8e60a0519d57e351a17473e36e08ed76a0 /mobile-widgets/qml
parent6e47bb11d5d3b01c65b3dab16902cdc9e70983b9 (diff)
downloadsubsurface-6f96edd766e4f782b0d7ed8cf960a097860b0c7f.tar.gz
mobile/dive-details: less whitespace at the top
This always seemed odd - the location looked like it sat 'low' on the screen. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index 62b28bfdd..73efbeec4 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -31,6 +31,8 @@ Item {
width: parent.width - Kirigami.Units.gridUnit
height: childrenRect.height - Kirigami.Units.smallSpacing
anchors.left: parent.left
+ anchors.top: detailsView.top
+ anchors.topMargin: - Kirigami.Units.smallSpacing
Controls.Label {
id: locationText
text: (undefined !== location && "" !== location) ? location : qsTr("<unnamed dive site>")