Fix text rendering in the ConfigurationMenu

This commit is contained in:
fieldOfView 2018-05-25 21:40:30 +02:00
parent d6e7b96437
commit 87555a38c4
2 changed files with 5 additions and 0 deletions

View file

@ -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
} }
} }

View file

@ -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")