Also use proper icon size for left icon

Almost forgot!

Contributes to issue CURA-8565.
This commit is contained in:
Ghostkeeper 2021-11-29 12:03:03 +01:00 committed by Jelle Spijker
parent 0cd8798aff
commit d4ebf3baa0
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -110,7 +110,7 @@ Button
{
id: buttonIconLeft
source: ""
height: visible ? UM.Theme.getSize("action_button_icon").height : 0
height: visible ? button.iconSize : 0
width: visible ? height : 0
sourceSize.width: width
sourceSize.height: height