fix(StatusMenuSeparator): ensure height is 0 when invisible or disabled
Closes #212
This commit is contained in:
parent
c62e459deb
commit
5faebe7002
|
@ -4,6 +4,7 @@ import QtQuick.Controls 2.13
|
|||
import StatusQ.Core.Theme 0.1
|
||||
|
||||
MenuSeparator {
|
||||
height: visible && enabled ? implicitHeight : 0
|
||||
contentItem: Rectangle {
|
||||
implicitWidth: 176
|
||||
implicitHeight: 1
|
||||
|
|
Loading…
Reference in New Issue