fixed the width of the buttons in popupWithQuestion

This commit is contained in:
vladimir.kuznetsov 2023-01-27 19:56:39 +03:00
parent da47054497
commit 00c4cf300a

View file

@ -30,6 +30,7 @@ Popup {
RowLayout {
BlueButtonType {
id: yesButton
Layout.preferredWidth: parent.width / 2
Layout.fillWidth: true
text: yesText
onClicked: {
@ -42,6 +43,7 @@ Popup {
}
BlueButtonType {
id: noButton
Layout.preferredWidth: parent.width / 2
Layout.fillWidth: true
text: noText
onClicked: {