Skip to content

Commit

Permalink
Hardcode the size of Hotlist preset buttons
Browse files Browse the repository at this point in the history
instead of making them very wide along with the popup
  • Loading branch information
MartinBriza committed Apr 17, 2024
1 parent 71aa0cb commit 342dbd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Lith/UI/SettingsHotlistFormatEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -276,19 +276,19 @@ Dialog {
details: qsTr("Recommended")
rowComponent: ColumnLayout {
id: presetLayout
Layout.preferredWidth: presetFieldBase.width / 2
Layout.fillWidth: true

Button {
text: qsTr("Default")
onClicked: formatSplitter.fromStringList(Lith.settings.hotlistDefaultFormat)
Layout.fillWidth: true
Layout.maximumWidth: presetFieldBase.width / 2
Layout.maximumWidth: 120
}
Button {
text: qsTr("Buffer Number")
onClicked: formatSplitter.fromStringList(["%1", "number"])
Layout.fillWidth: true
Layout.maximumWidth: presetFieldBase.width / 2
Layout.maximumWidth: 120
}
}
}
Expand Down

0 comments on commit 342dbd5

Please sign in to comment.