From d20393e077b8d97b18f4a224ddcb20caf6dac23b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 10 Sep 2025 15:57:26 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/SystemTray.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/SystemTray.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml index 55b1690e..956f3995 100644 --- a/accounts/gkleen@sif/shell/quickshell/SystemTray.qml +++ b/accounts/gkleen@sif/shell/quickshell/SystemTray.qml @@ -116,7 +116,7 @@ Item { color: "black" implicitWidth: Math.max(tooltipTitle.contentWidth, tooltipDescription.contentWidth) + 16 - implicitHeight: tooltipTitle.contentHeight + tooltipDescription.contentHeight + 16 + implicitHeight: (trayItem.tooltipTitle ? tooltipTitle.contentHeight : 0) + (trayItem.tooltipDescription ? tooltipDescription.contentHeight : 0) + 16 WrapperMouseArea { id: tooltipMouseArea @@ -130,6 +130,8 @@ Item { Text { id: tooltipTitle + enabled: trayItem.tooltipTitle + font.pointSize: 10 font.family: "Fira Sans" font.bold: true @@ -141,6 +143,8 @@ Item { Text { id: tooltipDescription + enabled: trayItem.tooltipDescription + font.pointSize: 10 font.family: "Fira Sans" color: "white" -- cgit v1.2.3