Fix HButtonContent when no icon
This commit is contained in:
@@ -21,7 +21,7 @@ HRowLayout {
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
Item {
|
||||
visible: button.icon.name || button.loading
|
||||
visible: Boolean(button.icon.name || button.loading)
|
||||
|
||||
Layout.preferredWidth:
|
||||
button.loading ? busyIndicatorLoader.width : icon.width
|
||||
|
Reference in New Issue
Block a user