mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Fix qml warning about the sourceSize of the ToolbarButton icon
CURA-8202
This commit is contained in:
parent
72ca4a9564
commit
3eafd11587
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ Item
|
|||
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
||||
color: UM.Theme.getColor("icon")
|
||||
|
||||
sourceSize: Math.round(UM.Theme.getSize("button") / 2)
|
||||
sourceSize.height: Math.round(UM.Theme.getSize("button").height / 2)
|
||||
sourceSize.width: Math.round(UM.Theme.getSize("button").width / 2)
|
||||
}
|
||||
|
||||
onCheckedChanged:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue