mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
qml: Rebalance button widths
Removed preferred widths for OS, device buttons, and set one for the storage button. This allows the storage label (generally the longest) to fit on the control face reliably.
This commit is contained in:
parent
8291e00934
commit
c7fa7504fe
1 changed files with 6 additions and 4 deletions
|
@ -135,7 +135,6 @@ ApplicationWindow {
|
|||
text: qsTr("Operating System")
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 17
|
||||
Layout.preferredWidth: 100
|
||||
font.pixelSize: 12
|
||||
font.family: robotoBold.name
|
||||
font.bold: true
|
||||
|
@ -171,7 +170,6 @@ ApplicationWindow {
|
|||
text: qsTr("Storage")
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 17
|
||||
Layout.preferredWidth: 100
|
||||
font.pixelSize: 12
|
||||
font.family: robotoBold.name
|
||||
font.bold: true
|
||||
|
@ -181,8 +179,12 @@ ApplicationWindow {
|
|||
ImButton {
|
||||
id: dstbutton
|
||||
text: qsTr("CHOOSE STORAGE")
|
||||
spacing: 0
|
||||
padding: 0
|
||||
bottomPadding: 0
|
||||
topPadding: 0
|
||||
Layout.minimumHeight: 40
|
||||
Layout.preferredWidth: 100
|
||||
Layout.preferredWidth: 200
|
||||
Layout.fillWidth: true
|
||||
onClicked: {
|
||||
imageWriter.startDriveListPolling()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue