mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 05:53:18 +08:00
Fix text rendering in the ConfigurationMenu
This commit is contained in:
parent
d6e7b96437
commit
87555a38c4
@ -92,6 +92,7 @@ Rectangle
|
|||||||
anchors.verticalCenter: buildplateIcon.verticalCenter
|
anchors.verticalCenter: buildplateIcon.verticalCenter
|
||||||
anchors.leftMargin: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
anchors.leftMargin: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
||||||
text: configuration.buildplateConfiguration
|
text: configuration.buildplateConfiguration
|
||||||
|
renderType: Text.NativeRendering
|
||||||
color: textColor
|
color: textColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ Column
|
|||||||
{
|
{
|
||||||
id: extruderLabel
|
id: extruderLabel
|
||||||
text: catalog.i18nc("@label:extruder label", "Extruder")
|
text: catalog.i18nc("@label:extruder label", "Extruder")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
@ -59,6 +60,7 @@ Column
|
|||||||
id: extruderNumberText
|
id: extruderNumberText
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: printCoreConfiguration.position + 1
|
text: printCoreConfiguration.position + 1
|
||||||
|
renderType: Text.NativeRendering
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: mainColor
|
color: mainColor
|
||||||
}
|
}
|
||||||
@ -69,6 +71,7 @@ Column
|
|||||||
{
|
{
|
||||||
id: materialLabel
|
id: materialLabel
|
||||||
text: printCoreConfiguration.material.name
|
text: printCoreConfiguration.material.name
|
||||||
|
renderType: Text.NativeRendering
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
@ -79,6 +82,7 @@ Column
|
|||||||
{
|
{
|
||||||
id: printCoreTypeLabel
|
id: printCoreTypeLabel
|
||||||
text: printCoreConfiguration.hotendID
|
text: printCoreConfiguration.hotendID
|
||||||
|
renderType: Text.NativeRendering
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: parent.width
|
width: parent.width
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user