mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Fix combobox and label heights in general page
CURA-8640
This commit is contained in:
parent
f57c30fb42
commit
53efb78cf6
1 changed files with 3 additions and 2 deletions
|
@ -224,7 +224,7 @@ UM.PreferencesPage
|
||||||
textRole: "text"
|
textRole: "text"
|
||||||
model: languageList
|
model: languageList
|
||||||
implicitWidth: UM.Theme.getSize("combobox").width
|
implicitWidth: UM.Theme.getSize("combobox").width
|
||||||
implicitHeight: currencyField.height
|
height: currencyField.height
|
||||||
|
|
||||||
function setCurrentIndex() {
|
function setCurrentIndex() {
|
||||||
var code = UM.Preferences.getValue("general/language");
|
var code = UM.Preferences.getValue("general/language");
|
||||||
|
@ -264,6 +264,7 @@ UM.PreferencesPage
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
text: UM.Preferences.getValue("cura/currency")
|
text: UM.Preferences.getValue("cura/currency")
|
||||||
implicitWidth: UM.Theme.getSize("combobox").width
|
implicitWidth: UM.Theme.getSize("combobox").width
|
||||||
|
implicitHeight: UM.Theme.getSize("setting_control").height
|
||||||
onTextChanged: UM.Preferences.setValue("cura/currency", text)
|
onTextChanged: UM.Preferences.setValue("cura/currency", text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -293,7 +294,7 @@ UM.PreferencesPage
|
||||||
model: themeList
|
model: themeList
|
||||||
textRole: "text"
|
textRole: "text"
|
||||||
implicitWidth: UM.Theme.getSize("combobox").width
|
implicitWidth: UM.Theme.getSize("combobox").width
|
||||||
implicitHeight: currencyField.height
|
height: currencyField.height
|
||||||
|
|
||||||
currentIndex:
|
currentIndex:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue