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.qml17
1 files changed, 3 insertions, 14 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index 630ac3dbe..d3a811050 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -41,7 +41,7 @@ Item {
anchors {
left: parent.left
top: parent.top
- right: gpsButton.left
+ right: parent.right
margins: Math.round(Kirigami.Units.gridUnit / 2)
}
MouseArea {
@@ -53,22 +53,11 @@ Item {
}
}
}
- TemplateButton {
- id: gpsButton
- anchors.right: parent.right
- anchors.verticalCenter: locationText.verticalCenter
- enabled: gps !== ""
- text: qsTr("Map it")
- onClicked: {
- showMap()
- mapPage.centerOnDiveSite(diveSite)
- }
- }
Row {
id: dateRow
anchors {
left: locationText.left
- top: gpsButton.bottom
+ top: locationText.bottom
topMargin: Kirigami.Units.smallSpacing
bottom: numberText.bottom
@@ -100,7 +89,7 @@ Item {
color: subsurfaceTheme.textColor
anchors {
right: parent.right
- top: gpsButton.bottom
+ top: locationText.bottom
topMargin: Kirigami.Units.smallSpacing
}
}