mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Size "Do you want to use saved settings?" dialog box better
Prevents buttons overflowing the dialog box when German language translation is used. (Issue reported on forum)
This commit is contained in:
parent
1c62713219
commit
1ab22a1d9e
2 changed files with 4 additions and 3 deletions
|
@ -11,9 +11,9 @@ import "qmlcomponents"
|
|||
|
||||
Popup {
|
||||
id: msgpopup
|
||||
x: 75
|
||||
x: (parent.width-width)/2
|
||||
y: (parent.height-height)/2
|
||||
width: parent.width-150
|
||||
width: Math.max(buttons.width+10, parent.width-150)
|
||||
height: msgpopupbody.implicitHeight+150
|
||||
padding: 0
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
|
@ -91,6 +91,7 @@ Popup {
|
|||
Layout.alignment: Qt.AlignCenter | Qt.AlignBottom
|
||||
Layout.bottomMargin: 10
|
||||
spacing: 20
|
||||
id: buttons
|
||||
|
||||
ImButton {
|
||||
text: qsTr("NO")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue