fix(StatusMenuSeparator): ensure height is 0 when invisible or disabled

Closes #212
This commit is contained in:
Pascal Precht 2021-06-30 12:35:54 +02:00 committed by Michał Cieślak
parent c62e459deb
commit 5faebe7002
1 changed files with 1 additions and 0 deletions

View File

@ -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