From bd94cc362594784041847253012cacf16b267016 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 21 Aug 2019 04:52:34 -0400 Subject: [PATCH] Fix button icon position --- src/qml/Base/HButton.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qml/Base/HButton.qml b/src/qml/Base/HButton.qml index 5cc5c748..265f5c41 100644 --- a/src/qml/Base/HButton.qml +++ b/src/qml/Base/HButton.qml @@ -52,8 +52,6 @@ Button { HIcon { id: ico - x: button.leftPadding - y: button.topPadding + button.availableHeight / 2 - height / 2 svgName: loading ? "hourglass" : iconName Layout.fillHeight: true