From 7d6785c1ac0468b139b4935814d88228dadf04b4 Mon Sep 17 00:00:00 2001 From: lucy Date: Sat, 7 Feb 2026 23:50:10 +0100 Subject: [PATCH] fix workspaces centering isssue --- modules/bar/Workspaces.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bar/Workspaces.qml b/modules/bar/Workspaces.qml index c12163f..061699b 100644 --- a/modules/bar/Workspaces.qml +++ b/modules/bar/Workspaces.qml @@ -1,6 +1,7 @@ pragma ComponentBehavior: Bound import Quickshell.Hyprland import QtQuick +import QtQuick.Layouts import qs import qs.settings import qs.reusables @@ -13,7 +14,7 @@ Rectangle { implicitHeight: Settings.config.barHeight - 10 radius: Settings.config.barHeight / 2 property var screen: screen - Row { + RowLayout { id: workspaceRow anchors.centerIn: parent spacing: 5 // Slightly increase spacing between workspace buttons @@ -23,7 +24,6 @@ Rectangle { model: Hyprland.workspaces Rectangle { id: workspaceNumber - anchors.verticalCenter: parent.verticalCenter radius: 20 property bool isOnMon: { if (!modelData)