diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 16:40:14 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 16:40:14 +0800 |
| commit | 8127908623a6f1737537a7b53d479bf9039a4afd (patch) | |
| tree | 739df679343db82aeb8c06445a286ebc3f20965a /bar/Bar.qml | |
| parent | f5462c3274d008c1bb509cfac4eab8492d822cf5 (diff) | |
margin implicit width not cool
Diffstat (limited to 'bar/Bar.qml')
| -rw-r--r-- | bar/Bar.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bar/Bar.qml b/bar/Bar.qml index a18ad06..3428b06 100644 --- a/bar/Bar.qml +++ b/bar/Bar.qml @@ -11,6 +11,7 @@ Scope { model: Quickshell.screens IWindow { + id: barWindow name: "Bar" anchors { @@ -43,7 +44,7 @@ Scope { anchors { left: parent.left } - implicitWidth: workspace.width + mpris.width + implicitWidth: workspace.width + leftRow.anchors.leftMargin + mpris.width implicitHeight: leftRow.height color: Qt.rgba(Colors.r, Colors.g, Colors.b, Bar.bgTransparency) radius: Bar.moduleRadius @@ -58,7 +59,8 @@ Scope { Workspace { id: workspace - Layout.minimumWidth: 400 // FIXME + // screen: barWindow.screen // multi monitor + // Layout.minimumWidth: 400 // FIXME } Mpris { id: mpris |
