fixup ws styling

This commit is contained in:
lucy 2026-08-26 21:12:03 +02:00
commit b329303ee1
5 changed files with 32 additions and 27 deletions

View file

@ -3,7 +3,6 @@ import QtQuick
import QtQuick.Layouts
import qs.modules.wallpaper
import qs.settings
import qs.widgets
import qs
Variants {
@ -19,11 +18,15 @@ Variants {
}
color: 'transparent'
implicitHeight: Config.barHeight
margins.top: Config.floating ? 10 : 0
margins.left: Config.floating ? 10 : 0
margins.right: Config.floating ? 10 : 0
Rectangle {
anchors.fill: parent
color: Colors.barBg
radius: Config.floating ? Config.rounding : 0
RowLayout {
anchors.leftMargin: 10
anchors.leftMargin: 4
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Ws {
@ -36,7 +39,7 @@ Variants {
Date {}
}
RowLayout {
anchors.rightMargin: 10
anchors.rightMargin: 4
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Mpris {}
@ -48,7 +51,7 @@ Variants {
}
Pw {}
Netstatus {}
Netstatus {}
}
}
}