From ffb59b28942f78b7d709a545f564e7b9bfb4d75f Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Wed, 14 Dec 2022 17:44:08 +0100 Subject: [PATCH] Move width, height properties to top of component CURA-9793 --- resources/qml/ExtruderIcon.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/ExtruderIcon.qml b/resources/qml/ExtruderIcon.qml index 93c5adf55a..3231d924ee 100644 --- a/resources/qml/ExtruderIcon.qml +++ b/resources/qml/ExtruderIcon.qml @@ -47,14 +47,14 @@ Item UM.Label { id: extruderNumberText + width: contentWidth + height: contentHeight anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.right: parent.right horizontalAlignment: Text.AlignHCenter text: (index + 1).toString() font: UM.Theme.getFont("small_emphasis") - width: contentWidth - height: contentHeight } } }