quickshell: fix layout width with Row for workspaces

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-26 12:05:04 +01:00
parent d63097edb6
commit 1cb2389b0d

View file

@ -454,17 +454,15 @@ in
right: true right: true
} }
implicitWidth: screen.width
implicitHeight: 30 implicitHeight: 30
color: "#D1${c.base00}" color: "#D1${c.base00}"
RowLayout { RowLayout {
width: bar.screen.width anchors.fill: parent
height: 30
spacing: 0 spacing: 0
// Workspaces // Workspaces
RowLayout { Row {
spacing: 0 spacing: 0
Layout.leftMargin: 6 Layout.leftMargin: 6
@ -473,8 +471,8 @@ in
Item { Item {
required property var modelData required property var modelData
Layout.preferredWidth: 28 width: 28
Layout.preferredHeight: 30 height: 30
Text { Text {
anchors.centerIn: parent anchors.centerIn: parent