chore: minor ui fixes
This commit is contained in:
parent
7a1bcfac90
commit
46d3ed76e3
7 changed files with 14 additions and 52 deletions
|
|
@ -64,21 +64,21 @@ Popup {
|
|||
|
||||
BlueButtonNoBorder {
|
||||
Layout.fillWidth: true
|
||||
text: root.cancelButtonText
|
||||
text: root.confirmButtonText
|
||||
onClicked: {
|
||||
if (root.onCancel) {
|
||||
root.onCancel()
|
||||
if (root.onConfirm) {
|
||||
root.onConfirm()
|
||||
}
|
||||
root.close()
|
||||
}
|
||||
}
|
||||
|
||||
WhiteButtonWithBorder {
|
||||
WhiteButtonNoBorder {
|
||||
Layout.fillWidth: true
|
||||
text: root.confirmButtonText
|
||||
text: root.cancelButtonText
|
||||
onClicked: {
|
||||
if (root.onConfirm) {
|
||||
root.onConfirm()
|
||||
if (root.onCancel) {
|
||||
root.onCancel()
|
||||
}
|
||||
root.close()
|
||||
}
|
||||
|
|
@ -106,4 +106,4 @@ Popup {
|
|||
color: Style.color.transparentWhite
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue