Tray capsule hidden if empty + formatting
This commit is contained in:
parent
1993e28c18
commit
fdf475cabc
3 changed files with 14 additions and 15 deletions
|
|
@ -12,7 +12,7 @@ import qs.Widgets
|
|||
Rectangle {
|
||||
readonly property real itemSize: 24 * scaling
|
||||
|
||||
visible: Settings.data.bar.showTray
|
||||
visible: Settings.data.bar.showTray && SystemTray.items.length > 0
|
||||
width: tray.width + Style.marginM * scaling * 2
|
||||
|
||||
height: Math.round(Style.capsuleHeight * scaling)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue