From 802d4efdd3e70fefc860958cb4ff1c4921c831fb Mon Sep 17 00:00:00 2001 From: "M.Silva" Date: Sat, 20 Sep 2025 19:47:19 +0100 Subject: [PATCH] chore: adjust to maintain visual proportion --- Modules/Bar/Widgets/Workspace.qml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Modules/Bar/Widgets/Workspace.qml b/Modules/Bar/Widgets/Workspace.qml index ce8b0ae8..f79aac15 100644 --- a/Modules/Bar/Widgets/Workspace.qml +++ b/Modules/Bar/Widgets/Workspace.qml @@ -63,18 +63,14 @@ Item { function getWorkspaceWidth(ws) { const d = Style.capsuleHeight * root.baseDimensionRatio - if (ws.isFocused) - return d * 2.5 - else - return d + const factor = ws.isFocused ? 2.2 : 1 + return d * factor } function getWorkspaceHeight(ws) { const d = Style.capsuleHeight * root.baseDimensionRatio - if (ws.isFocused) - return d * 3 - else - return d + const factor = ws.isFocused ? 2.2 : 1 + return d * factor } function computeWidth() {