diff options
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" |
