diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 17:16:14 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-13 17:16:14 +0800 |
| commit | b520eb490c7b99659bdb685995e5ad4a3507cbb3 (patch) | |
| tree | bc11bb0a8c48df3347cbb4766851aa6d92dc971a /bar/Bar.qml | |
| parent | 8127908623a6f1737537a7b53d479bf9039a4afd (diff) | |
workspace more fix + activewindow]
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 3428b06..6ec1670 100644 --- a/bar/Bar.qml +++ b/bar/Bar.qml @@ -44,7 +44,7 @@ Scope { anchors { left: parent.left } - implicitWidth: workspace.width + leftRow.anchors.leftMargin + mpris.width + implicitWidth: workspace.width + leftRow.anchors.leftMargin + leftRow.anchors.rightMargin + leftRow.spacing + mpris.width implicitHeight: leftRow.height color: Qt.rgba(Colors.r, Colors.g, Colors.b, Bar.bgTransparency) radius: Bar.moduleRadius @@ -53,9 +53,11 @@ Scope { RowLayout { id: leftRow anchors.left: parent.left - anchors.leftMargin: 20 + anchors.leftMargin: Bar.moduleLeftMargin + anchors.rightMargin: Bar.moduleRightMargin // does nothing but more consistent code style (as leftRow's right is middle but leftRow will never reach middle) implicitWidth: (child.width - centerRow.width) / 2 implicitHeight: child.height + spacing: Bar.leftModuleSpacing Workspace { id: workspace |
