Increase size of icon to fit button exactly

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

View file

@ -29,9 +29,10 @@ Item
tooltip: catalog.i18nc("@button:tooltip", "Back")
toolTipContentAlignment: Cura.ToolTip.ContentAlignment.AlignRight
iconSource: UM.Theme.getIcon("ArrowLeft")
leftPadding: UM.Theme.getSize("narrow_margin").width
rightPadding: leftPadding
iconSource: UM.Theme.getIcon("ArrowLeft")
iconSize: height - leftPadding * 2
}
Label