Align extruder labels in monitor page with the extruder icon

CURA-8202
This commit is contained in:
Konstantinos Karmas 2021-07-01 11:37:03 +02:00
parent 196e5ba397
commit 1f612f3e1a
2 changed files with 7 additions and 24 deletions

View file

@ -38,6 +38,7 @@ Item
Label
{
id: positionLabel
anchors.centerIn: icon
font: UM.Theme.getFont("small")
color: UM.Theme.getColor("text")
height: Math.round(size / 2)
@ -45,8 +46,6 @@ Item
text: position + 1
verticalAlignment: Text.AlignVCenter
width: Math.round(size / 2)
x: Math.round(size * 0.25)
y: Math.round(size * 0.15625)
visible: position >= 0
renderType: Text.NativeRendering
}