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>
This commit is contained in:
Jan Mulder 2018-09-26 15:05:25 +02:00 committed by Dirk Hohndel
parent 97031da0d8
commit 441e06cdb8

View file

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