quickshell: fix layout width with Row for workspaces
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d63097edb6
commit
1cb2389b0d
1 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue