aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-26 15:05:25 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-26 08:38:53 -0700
commit441e06cdb89d8c3be39a6a99d092a2b30d67dd0a (patch)
tree0f3b1f1ed9af13ab912b3a75fc21e8bda8dcdb8d
parent97031da0d8a69ee107978acec07e56b1bf2b7843 (diff)
downloadsubsurface-441e06cdb89d8c3be39a6a99d092a2b30d67dd0a.tar.gz
mobile, QML UI: whitespace in dive details page
There was a strange big margin at the top of the the dive details page. Just make it a bit more "normal". Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r--mobile-widgets/qml/DiveDetails.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 5fca950bc..2f8cf895a 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -55,7 +55,7 @@ Kirigami.Page {
title: currentItem && currentItem.modelData ? currentItem.modelData.dive.location : qsTr("Dive details")
state: "view"
leftPadding: 0
- topPadding: Kirigami.Units.gridUnit * 2 // make room for the title bar
+ topPadding: Kirigami.Units.gridUnit / 2
rightPadding: 0
bottomPadding: 0
background: Rectangle { color: subsurfaceTheme.backgroundColor }