fixed the width of the buttons in popupWithQuestion
This commit is contained in:
parent
da47054497
commit
00c4cf300a
1 changed files with 2 additions and 0 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue