Fix extruder icon text scaling. I've added a new font size here since there is not any real way I can see to scale the font based on the component size. This is because we do some magic with the font numbers before passing them to the QML.

CURA-9793
This commit is contained in:
Joey de l'Arago 2022-12-06 12:08:00 +01:00
parent 93d1f05aec
commit bec02cf312
5 changed files with 25 additions and 0 deletions

View file

@ -14,6 +14,7 @@ Item
property bool extruderEnabled: true
property var iconSize: UM.Theme.getSize("extruder_icon").width
property string iconVariant: "medium"
property alias font: extruderNumberText.font
implicitWidth: iconSize
implicitHeight: iconSize