UI: fixed selectors & added spacing

This commit is contained in:
2026-08-27 11:28:57 +01:00
parent 3ae5c57303
commit 622afb2100

View File

@@ -240,6 +240,19 @@ Item {
color: rowMouse.containsMouse ? Colors.primary color: rowMouse.containsMouse ? Colors.primary
: (deviceRow.active ? Qt.rgba(Colors.primary.r, Colors.primary.g, Colors.primary.b, 0.18) : "transparent") : (deviceRow.active ? Qt.rgba(Colors.primary.r, Colors.primary.g, Colors.primary.b, 0.18) : "transparent")
// Hover-only outline, offset outside the row rather than drawn on
// its own edge — same treatment as the other bar widgets' selectable
// rows (e.g. NetworkIndicator.qml's NetworkRow). Not inside a
// clipped Flickable here, so no inset needed on its container.
Rectangle {
anchors.fill: parent
anchors.margins: -3
radius: 0
color: "transparent"
border.color: Colors.foreground
border.width: rowMouse.containsMouse ? 1 : 0
}
RowLayout { RowLayout {
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: 8 anchors.leftMargin: 8
@@ -388,7 +401,7 @@ Item {
Column { Column {
width: parent.width width: parent.width
spacing: 2 spacing: 4
Repeater { Repeater {
model: root.candidateSinks model: root.candidateSinks
DeviceRow { DeviceRow {
@@ -439,7 +452,7 @@ Item {
Column { Column {
width: parent.width width: parent.width
spacing: 2 spacing: 4
Repeater { Repeater {
model: root.candidateSources model: root.candidateSources
DeviceRow { DeviceRow {