make style smarter

This commit is contained in:
lucy 2026-10-11 00:42:58 +02:00
commit aebb29a028
6 changed files with 24 additions and 32 deletions

View file

@ -18,8 +18,6 @@ Rectangle {
implicitHeight: 600
color: Colors.c.base00
radius: Config.cfg.appearance.rounding
border.width: 1
border.color: Colors.c.base03
MouseArea {
acceptedButtons: Qt.AllButtons
anchors.fill: parent
@ -55,8 +53,7 @@ Rectangle {
implicitWidth: 300
implicitHeight: 30
radius: Config.cfg.appearance.rounding
border.width: 1
border.color: Colors.c.base03
}
}
@ -69,8 +66,6 @@ Rectangle {
delegate: Rectangle {
id: container
required property var modelData
border.width: 1
border.color: Colors.c.base03
color: Colors.c.base02
height: 30
radius: Config.cfg.appearance.rounding

View file

@ -30,11 +30,10 @@ Rectangle {
id: audioRep
model: Audio.sinks
delegate: Rectangle {
delegate: BarComponent {
Layout.margins: 5
id: audioDelContainer
Layout.fillWidth: true
color: Colors.c.base02
radius: Config.cfg.appearance.rounding - 4
required property var modelData
implicitHeight: audioRow.implicitHeight + 8