From e95659811d6ce9bb08cd11b0275d5d31f4b4a1da Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 12 Jun 2021 21:18:31 -0400 Subject: Fix button spacing --- resources/qml/ImageButton.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'resources/qml/ImageButton.qml') diff --git a/resources/qml/ImageButton.qml b/resources/qml/ImageButton.qml index 60954bfd..b5d9c152 100644 --- a/resources/qml/ImageButton.qml +++ b/resources/qml/ImageButton.qml @@ -26,6 +26,7 @@ AbstractButton { // Workaround, can't get icon.source working for now... anchors.fill: parent source: image != "" ? ("image://colorimage/" + image + "?" + ((button.hovered && changeColorOnHover) ? highlightColor : buttonTextColor)) : "" + fillMode: Image.PreserveAspectFit } CursorShape { -- cgit 1.5.1