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

@ -50,8 +50,6 @@ Button
source: ""
height: buttonText.height
width: visible ? height : 0
sourceSize.width: width
sourceSize.height: height
color: button.hovered ? button.textHoverColor : button.textColor
visible: source != "" && !button.isIconOnRightSide
anchors.verticalCenter: parent.verticalCenter
@ -78,8 +76,6 @@ Button
source: buttonIconLeft.source
height: buttonText.height
width: visible ? height : 0
sourceSize.width: width
sourceSize.height: height
color: buttonIconLeft.color
visible: source != "" && button.isIconOnRightSide
anchors.verticalCenter: buttonIconLeft.verticalCenter