mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
6e47bb11d5
commit
6f96edd766
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ Item {
|
||||||
width: parent.width - Kirigami.Units.gridUnit
|
width: parent.width - Kirigami.Units.gridUnit
|
||||||
height: childrenRect.height - Kirigami.Units.smallSpacing
|
height: childrenRect.height - Kirigami.Units.smallSpacing
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
anchors.top: detailsView.top
|
||||||
|
anchors.topMargin: - Kirigami.Units.smallSpacing
|
||||||
Controls.Label {
|
Controls.Label {
|
||||||
id: locationText
|
id: locationText
|
||||||
text: (undefined !== location && "" !== location) ? location : qsTr("<unnamed dive site>")
|
text: (undefined !== location && "" !== location) ? location : qsTr("<unnamed dive site>")
|
||||||
|
|
Loading…
Add table
Reference in a new issue