summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index 6ea44077d..fbbf7e7c7 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -59,6 +59,7 @@ Item {
TemplateButton {
id: gpsButton
anchors.right: parent.right
+ anchors.verticalCenter: locationText.verticalCenter
enabled: gps !== ""
text: qsTr("Map it")
onClicked: {
@@ -70,7 +71,7 @@ Item {
id: dateRow
anchors {
left: locationText.left
- top: locationText.bottom
+ top: gpsButton.bottom
topMargin: Kirigami.Units.smallSpacing
bottom: numberText.bottom
@@ -102,7 +103,7 @@ Item {
color: subsurfaceTheme.textColor
anchors {
right: parent.right
- top: locationText.bottom
+ top: gpsButton.bottom
topMargin: Kirigami.Units.smallSpacing
}
}