Skip to content

Commit

Permalink
Harmonize the guide popup's bottom margin
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 28, 2024
1 parent 0a199eb commit d7df4a9
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/qml/QFieldGuide.qml
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,14 @@ Popup {
id: animatedHint
visible: internalObject.step.animatedGuide !== undefined
source: visible ? internalObject.step.animatedGuide : ""
anchors.top: description.bottom
anchors.left: description.left
anchors.right: hintPanel.right
anchors.rightMargin: 15
anchors {
bottom: parent.bottom
left: parent.left
right: hintPanel.right
rightMargin: 15
bottomMargin: 15
}
fillMode: AnimatedImage.PreserveAspectFit
anchors.topMargin: 8
}

QfButton {
Expand All @@ -254,9 +256,9 @@ Popup {
text: isLast ? guide.finishText : guide.nextText
anchors {
bottom: parent.bottom
bottomMargin: 8
right: parent.right
rightMargin: 15
bottomMargin: 15
}
bgcolor: Theme.mainColor
height: 32
Expand All @@ -282,8 +284,8 @@ Popup {
anchors {
right: nextButton.left
bottom: parent.bottom
bottomMargin: 8
rightMargin: 14
bottomMargin: 15
rightMargin: 15
}
onClicked: {
guide.index -= 1;
Expand Down

0 comments on commit d7df4a9

Please sign in to comment.