mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 07:15:54 +08:00
Fix qml warning about the sourceSize of the ToolbarButton icon
CURA-8202
This commit is contained in:
parent
72ca4a9564
commit
3eafd11587
@ -68,7 +68,8 @@ Item
|
|||||||
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
||||||
color: UM.Theme.getColor("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:
|
onCheckedChanged:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user