mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile UI: fix alignment issue in dive details view
The 'Map it' button could overlap with the dive number below, depending on font size. This fixes the issue. Reported-by: Peter Reinold <mcc.nash@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
caabf1b888
commit
ba201eabc7
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue