Merge branch 'master' of github.com:Ultimaker/Cura into CURA-8979_Materials_Preference_Page

This commit is contained in:
Jaime van Kessel 2022-03-15 11:07:44 +01:00
commit f9814520f7
6 changed files with 7 additions and 8 deletions

View file

@ -215,7 +215,7 @@ UM.PreferencesPage
textRole: "text"
model: languageList
implicitWidth: UM.Theme.getSize("setting_control").width
implicitWidth: UM.Theme.getSize("combobox_wide").width
implicitHeight: currencyField.height
function setCurrentIndex() {
@ -255,7 +255,7 @@ UM.PreferencesPage
id: currencyField
selectByMouse: true
text: UM.Preferences.getValue("cura/currency")
implicitWidth: UM.Theme.getSize("setting_control").width
implicitWidth: UM.Theme.getSize("combobox_wide").width
onTextChanged: UM.Preferences.setValue("cura/currency", text)
}
@ -284,7 +284,7 @@ UM.PreferencesPage
model: themeList
textRole: "text"
implicitWidth: UM.Theme.getSize("setting_control").width
implicitWidth: UM.Theme.getSize("combobox_wide").width
implicitHeight: currencyField.height
currentIndex:

View file

@ -84,19 +84,19 @@ Item
Layout.maximumWidth: Math.floor(parent.width * 0.7) // Always leave >= 30% for the rest of the row.
height: contentHeight
elide: Text.ElideRight
wrapMode: Text.NoWrap
}
UM.Label
{
text: activeQualityDetailText()
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text_detail")
Layout.margins: 0
Layout.fillWidth: true
height: contentHeight
elide: Text.ElideRight
wrapMode: Text.NoWrap
function activeQualityDetailText()
{
var resultMap = Cura.MachineManager.activeQualityDisplayNameMap

View file

@ -134,7 +134,7 @@ Item
id: label
anchors.left: parent.left
anchors.leftMargin: doDepthIndentation ? Math.round(UM.Theme.getSize("thin_margin").width + ((definition.depth - 1) * UM.Theme.getSize("narrow_margin").width)) : 0
anchors.leftMargin: doDepthIndentation ? Math.round(UM.Theme.getSize("thin_margin").width + ((definition.depth - 1) * UM.Theme.getSize("default_margin").width)) : 0
anchors.right: settingControls.left
anchors.verticalCenter: parent.verticalCenter