fix(StatusIconTextButton): make icon invisible when no icon is loaded

Otherwise this button has invisible left padding when no icon is set
This commit is contained in:
Patryk Osmaczko 2022-08-10 10:51:26 +02:00 committed by osmaczko
parent 91cafca41f
commit ce22d8759c
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ AbstractButton {
width: root.icon.width
height: root.icon.height
rotation: root.iconRotation
visible: status == Image.Ready
}
StatusBaseText {
Layout.alignment: Qt.AlignVCenter