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