fix padding in Bar.qml

This commit is contained in:
lucy 2026-07-16 22:24:18 +02:00
commit ce11401d43

View file

@ -36,7 +36,7 @@ Variants {
spacing: 5 spacing: 5
anchors.left: parent.left anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: Config.rounding == 0 ? 10 : Config.rounding anchors.leftMargin: Config.rounding == 0 ? Config.floating ? 0 : 10 : Config.barHeight / 4
Ws { Ws {
moduleHeight: root.moduleHeight moduleHeight: root.moduleHeight
barScreen: root.modelData barScreen: root.modelData
@ -60,7 +60,7 @@ Variants {
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: 5 spacing: 5
anchors.rightMargin: Config.rounding == 0 ? 10 : Config.rounding anchors.rightMargin: Config.rounding == 0 ? Config.floating ? 0 : 10 : Config.barHeight / 4
Mpris { Mpris {
moduleHeight: root.moduleHeight moduleHeight: root.moduleHeight
} }