Remove sourceSize.width: width from all RecolorImages

It is now the default in Uranium.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-04 15:04:51 +01:00
parent 2fdfdaa00b
commit 4d87c46423
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
27 changed files with 20 additions and 67 deletions

View file

@ -115,12 +115,12 @@ SettingItem
return UM.Theme.getColor("setting_control_border")
}
UM.RecolorImage {
UM.RecolorImage
{
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
width: Math.round(parent.width / 2.5)
height: Math.round(parent.height / 2.5)
sourceSize.width: width
sourceSize.height: width
color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text");
source: UM.Theme.getIcon("check")