From 01b38be6afbe660e3b9f9e136870a76afb69bf31 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 24 May 2025 13:31:36 +0800 Subject: internal: fix binding loops --- modules/bar/components/Tray.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/bar/components/Tray.qml') diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml index ccebe1f..8ccd48a 100644 --- a/modules/bar/components/Tray.qml +++ b/modules/bar/components/Tray.qml @@ -4,15 +4,21 @@ import "root:/config" import Quickshell.Services.SystemTray import QtQuick -StyledRect { +Item { id: root + readonly property bool vertical: parent?.vertical ?? false property color colour: Colours.palette.lavender clip: true visible: width > 0 && height > 0 // To avoid warnings about being visible with no size + implicitWidth: layout.implicitWidth + implicitHeight: layout.implicitHeight + BoxLayout { + id: layout + Repeater { model: SystemTray.items -- cgit v1.2.3-freya