Move width, height properties to top of component

CURA-9793
This commit is contained in:
c.lamboo 2022-12-14 17:44:08 +01:00
parent 2c7bd7883a
commit ffb59b2894

View File

@ -47,14 +47,14 @@ Item
UM.Label UM.Label
{ {
id: extruderNumberText id: extruderNumberText
width: contentWidth
height: contentHeight
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
text: (index + 1).toString() text: (index + 1).toString()
font: UM.Theme.getFont("small_emphasis") font: UM.Theme.getFont("small_emphasis")
width: contentWidth
height: contentHeight
} }
} }
} }