fix(StatusQ): StatusMessageQuickActions width should be 0 when there is no button
This commit is contained in:
parent
ac569b8ba5
commit
fc81568fe9
|
@ -15,7 +15,7 @@ Rectangle {
|
||||||
readonly property int containerMargin: 2
|
readonly property int containerMargin: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
implicitWidth: buttonRow.width + _internal.containerMargin * 2
|
implicitWidth: buttonRow.width > 0 ? buttonRow.width + (_internal.containerMargin * 2) : 0
|
||||||
implicitHeight: 36
|
implicitHeight: 36
|
||||||
radius: 8
|
radius: 8
|
||||||
color: Theme.palette.statusSelect.menuItemBackgroundColor
|
color: Theme.palette.statusSelect.menuItemBackgroundColor
|
||||||
|
|
Loading…
Reference in New Issue