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
parent c117b61503
commit 07ee729cde
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

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