From fd7a5530cf6c4395eec616dbf4622266793cd2b3 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 30 Jun 2021 12:35:54 +0200 Subject: [PATCH] fix(StatusMenuSeparator): ensure height is 0 when invisible or disabled Closes #212 --- src/StatusQ/Popups/StatusMenuSeparator.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StatusQ/Popups/StatusMenuSeparator.qml b/src/StatusQ/Popups/StatusMenuSeparator.qml index 29fbb471..e3ebd38d 100644 --- a/src/StatusQ/Popups/StatusMenuSeparator.qml +++ b/src/StatusQ/Popups/StatusMenuSeparator.qml @@ -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