chore: minor ui fixes

This commit is contained in:
vladimir.kuznetsov 2025-04-16 22:39:06 +08:00
parent 7a1bcfac90
commit 46d3ed76e3
7 changed files with 14 additions and 52 deletions

View file

@ -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
}
}
}
}