mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
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:
parent
93d1f05aec
commit
bec02cf312
5 changed files with 25 additions and 0 deletions
|
@ -12,12 +12,14 @@ UM.ToolbarButton
|
|||
id: base
|
||||
|
||||
property var extruder
|
||||
property var extrdurerNumberFont: UM.Theme.getFont("small_emphasis")
|
||||
|
||||
toolItem: ExtruderIcon
|
||||
{
|
||||
materialColor: extruder.color
|
||||
extruderEnabled: extruder.stack.isEnabled
|
||||
iconVariant: "default"
|
||||
font: extruderNumberFont
|
||||
property int index: extruder.index
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue