From 43af16801fcbb7056a51ed5fd6539c74ff5c0379 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Sep 2025 14:21:21 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml index 4cbebcc9..2d3aca1b 100644 --- a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml +++ b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml @@ -149,6 +149,8 @@ Row { WrapperMouseArea { id: windowMouseArea + required property int index + required property var modelData property var windowData: modelData hoverEnabled: true @@ -164,12 +166,11 @@ Row { WrapperRectangle { color: windowMouseArea.containsMouse ? "#33808080" : "transparent"; - anchors.fill: parent - WrapperItem { - anchors.fill: parent - - margin: 4 + rightMargin: 8 + leftMargin: 8 + topMargin: windowMouseArea.index == 0 ? 8 : 4 + bottomMargin: windowMouseArea.index == windowsModel.values.length - 1 ? 8 : 4 Text { id: windowLabel -- cgit v1.2.3