mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:29:01 +08:00
Fix extruder dropdown text model
This commit is contained in:
parent
1fa3031486
commit
b7aadbe3c3
@ -77,7 +77,7 @@ SettingItem
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.left
|
anchors.right: indicator.left
|
||||||
|
|
||||||
text: control.currentText
|
text: control.currentText
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
@ -154,8 +154,8 @@ SettingItem
|
|||||||
|
|
||||||
contentItem: Text
|
contentItem: Text
|
||||||
{
|
{
|
||||||
text: modelData.value
|
text: model.name
|
||||||
color: extruderText.color
|
color: UM.Theme.getColor("setting_control_text")
|
||||||
font: control.font
|
font: control.font
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
@ -173,8 +173,8 @@ SettingItem
|
|||||||
|
|
||||||
contentItem: Text
|
contentItem: Text
|
||||||
{
|
{
|
||||||
text: modelData.value
|
text: model.name
|
||||||
color: extruderText.color
|
color: UM.Theme.getColor("setting_control_text")
|
||||||
font: control.font
|
font: control.font
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user