diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-10 15:57:26 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-10 15:57:26 +0200 |
commit | d20393e077b8d97b18f4a224ddcb20caf6dac23b (patch) | |
tree | 337a8630deecdb50a2c879754e6b34b71575bbe0 /accounts/gkleen@sif/shell/quickshell/SystemTray.qml | |
parent | 9fab3828698199718a3d2f2faf8826f77d9258f7 (diff) | |
download | nixos-d20393e077b8d97b18f4a224ddcb20caf6dac23b.tar nixos-d20393e077b8d97b18f4a224ddcb20caf6dac23b.tar.gz nixos-d20393e077b8d97b18f4a224ddcb20caf6dac23b.tar.bz2 nixos-d20393e077b8d97b18f4a224ddcb20caf6dac23b.tar.xz nixos-d20393e077b8d97b18f4a224ddcb20caf6dac23b.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/SystemTray.qml')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/SystemTray.qml | 6 |
1 files changed, 5 insertions, 1 deletions
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 { | |||
116 | color: "black" | 116 | color: "black" |
117 | 117 | ||
118 | implicitWidth: Math.max(tooltipTitle.contentWidth, tooltipDescription.contentWidth) + 16 | 118 | implicitWidth: Math.max(tooltipTitle.contentWidth, tooltipDescription.contentWidth) + 16 |
119 | implicitHeight: tooltipTitle.contentHeight + tooltipDescription.contentHeight + 16 | 119 | implicitHeight: (trayItem.tooltipTitle ? tooltipTitle.contentHeight : 0) + (trayItem.tooltipDescription ? tooltipDescription.contentHeight : 0) + 16 |
120 | 120 | ||
121 | WrapperMouseArea { | 121 | WrapperMouseArea { |
122 | id: tooltipMouseArea | 122 | id: tooltipMouseArea |
@@ -130,6 +130,8 @@ Item { | |||
130 | Text { | 130 | Text { |
131 | id: tooltipTitle | 131 | id: tooltipTitle |
132 | 132 | ||
133 | enabled: trayItem.tooltipTitle | ||
134 | |||
133 | font.pointSize: 10 | 135 | font.pointSize: 10 |
134 | font.family: "Fira Sans" | 136 | font.family: "Fira Sans" |
135 | font.bold: true | 137 | font.bold: true |
@@ -141,6 +143,8 @@ Item { | |||
141 | Text { | 143 | Text { |
142 | id: tooltipDescription | 144 | id: tooltipDescription |
143 | 145 | ||
146 | enabled: trayItem.tooltipDescription | ||
147 | |||
144 | font.pointSize: 10 | 148 | font.pointSize: 10 |
145 | font.family: "Fira Sans" | 149 | font.family: "Fira Sans" |
146 | color: "white" | 150 | color: "white" |