Settings tabs: adapt to new sizing of NComboBox
This commit is contained in:
parent
a68b3f49b0
commit
c01167c9da
2 changed files with 5 additions and 4 deletions
|
|
@ -299,8 +299,7 @@ ColumnLayout {
|
||||||
currentKey: Settings.data.nightLight.manualSunrise
|
currentKey: Settings.data.nightLight.manualSunrise
|
||||||
placeholder: "Select start time"
|
placeholder: "Select start time"
|
||||||
onSelected: key => Settings.data.nightLight.manualSunrise = key
|
onSelected: key => Settings.data.nightLight.manualSunrise = key
|
||||||
|
minimumWidth: 120 * scaling
|
||||||
preferredWidth: 120 * scaling
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {// add a little more spacing
|
Item {// add a little more spacing
|
||||||
|
|
@ -316,8 +315,7 @@ ColumnLayout {
|
||||||
currentKey: Settings.data.nightLight.manualSunset
|
currentKey: Settings.data.nightLight.manualSunset
|
||||||
placeholder: "Select stop time"
|
placeholder: "Select stop time"
|
||||||
onSelected: key => Settings.data.nightLight.manualSunset = key
|
onSelected: key => Settings.data.nightLight.manualSunset = key
|
||||||
|
minimumWidth: 120 * scaling
|
||||||
preferredWidth: 120 * scaling
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -206,6 +206,7 @@ ColumnLayout {
|
||||||
currentKey: Settings.data.ui.fontDefault
|
currentKey: Settings.data.ui.fontDefault
|
||||||
placeholder: "Select default font..."
|
placeholder: "Select default font..."
|
||||||
popupHeight: 420 * scaling
|
popupHeight: 420 * scaling
|
||||||
|
minimumWidth: 300 * scaling
|
||||||
onSelected: function (key) {
|
onSelected: function (key) {
|
||||||
Settings.data.ui.fontDefault = key
|
Settings.data.ui.fontDefault = key
|
||||||
}
|
}
|
||||||
|
|
@ -218,6 +219,7 @@ ColumnLayout {
|
||||||
currentKey: Settings.data.ui.fontFixed
|
currentKey: Settings.data.ui.fontFixed
|
||||||
placeholder: "Select monospace font..."
|
placeholder: "Select monospace font..."
|
||||||
popupHeight: 320 * scaling
|
popupHeight: 320 * scaling
|
||||||
|
minimumWidth: 300 * scaling
|
||||||
onSelected: function (key) {
|
onSelected: function (key) {
|
||||||
Settings.data.ui.fontFixed = key
|
Settings.data.ui.fontFixed = key
|
||||||
}
|
}
|
||||||
|
|
@ -230,6 +232,7 @@ ColumnLayout {
|
||||||
currentKey: Settings.data.ui.fontBillboard
|
currentKey: Settings.data.ui.fontBillboard
|
||||||
placeholder: "Select display font..."
|
placeholder: "Select display font..."
|
||||||
popupHeight: 320 * scaling
|
popupHeight: 320 * scaling
|
||||||
|
minimumWidth: 300 * scaling
|
||||||
onSelected: function (key) {
|
onSelected: function (key) {
|
||||||
Settings.data.ui.fontBillboard = key
|
Settings.data.ui.fontBillboard = key
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue