diff --git a/src/StatusQ/Controls/StatusBaseButton.qml b/src/StatusQ/Controls/StatusBaseButton.qml index f7d9282a..c8b61bf1 100644 --- a/src/StatusQ/Controls/StatusBaseButton.qml +++ b/src/StatusQ/Controls/StatusBaseButton.qml @@ -40,11 +40,9 @@ Rectangle { return 5 case StatusBaseButton.Size.Small: return 10 - break; case StatusBaseButton.Size.Large: default: return 11 - break; } } property real defaultBottomPadding: { @@ -53,11 +51,9 @@ Rectangle { return 5 case StatusBaseButton.Size.Small: return 10 - break; case StatusBaseButton.Size.Large: default: return 11 - break; } } @@ -138,6 +134,7 @@ Rectangle { Loader { anchors.verticalCenter: parent.verticalCenter active: loading + visible: loading sourceComponent: StatusLoadingIndicator { color: statusBaseButton.enabled ? textColor : disabledTextColor