From 9d4d91cf000ff524f69e10d72b784fd2d53811fd Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 13 Jul 2025 19:38:21 +0800 Subject: activewindow: move rect bg outside to bar --- bar/Bar.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bar/Bar.qml') diff --git a/bar/Bar.qml b/bar/Bar.qml index 43dfff8..2f484e7 100644 --- a/bar/Bar.qml +++ b/bar/Bar.qml @@ -74,10 +74,16 @@ Scope { } } - Item { + Rectangle { id: centerRow anchors.centerIn: parent + implicitWidth: activeWindow.implicitWidth + General.rectMargin * 2 + implicitHeight: activeWindow.implicitHeight + + color: Colors.alt + radius: Style.rounding.smaller ActiveWindow { + id: activeWindow anchors.fill: parent } } -- cgit v1.2.3