fix left/right spacing

This commit is contained in:
lucy 2026-09-09 00:09:33 +02:00
commit 9590f5dc63
5 changed files with 12 additions and 10 deletions

View file

@ -23,11 +23,13 @@ Variants {
margins.left: Config.cfg.bar.floating ? 10 : 0
margins.right: Config.cfg.bar.floating ? 10 : 0
Rectangle {
anchors.fill: parent
color: Colors.barBg
radius: Config.cfg.bar.floating ?? Config.cfg.appearance.rounding
radius: Config.cfg.bar.floating ? Config.cfg.appearance.rounding : 0
anchors.fill: parent
implicitHeight: parent.height
anchors.centerIn: parent
RowLayout {
anchors.leftMargin: 4
anchors.leftMargin: 10
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Ws {
@ -42,7 +44,7 @@ Variants {
Date {}
}
RowLayout {
anchors.rightMargin: 4
anchors.rightMargin: 10
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Mpris {