QML UI: top padding for dive details

This used to work without manually adding space here.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-10-04 08:47:14 -07:00
parent ec7a878149
commit 41f24f2859

View file

@ -44,7 +44,7 @@ Kirigami.Page {
title: currentItem && currentItem.modelData ? currentItem.modelData.dive.location : qsTr("Dive details")
state: "view"
leftPadding: 0
topPadding: 0
topPadding: Kirigami.Units.gridUnit * 2 // make room for the title bar
rightPadding: 0
bottomPadding: 0