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>
This commit is contained in:
Dirk Hohndel 2020-05-11 06:44:19 -07:00
parent 6e47bb11d5
commit 6f96edd766

View file

@ -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>")