mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Replace RecolorImage
with ColorImage
CURA-8640
This commit is contained in:
parent
3de824e1a4
commit
45bc498c7f
64 changed files with 88 additions and 141 deletions
|
@ -143,13 +143,12 @@ SettingItem
|
|||
return UM.Theme.getColor("checkbox")
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
UM.ColorImage
|
||||
{
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
height: UM.Theme.getSize("checkbox_mark").height
|
||||
width: UM.Theme.getSize("checkbox_mark").width
|
||||
sourceSize.height: width
|
||||
color: !enabled ? UM.Theme.getColor("checkbox_mark_disabled") : UM.Theme.getColor("checkbox_mark");
|
||||
source: UM.Theme.getIcon("Check", "low")
|
||||
opacity: control.checked ? 1 : 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue