mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 23:34:32 +08:00
Move width, height properties to top of component
CURA-9793
This commit is contained in:
parent
2c7bd7883a
commit
ffb59b2894
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user