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