mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
fixed the width of the buttons in popupWithQuestion
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user