Add splitters to all panels... for now

This commit is contained in:
David Heinemeier Hansson
2026-06-07 20:58:02 +02:00
parent 8baae47d48
commit 3d4bb9ab81
3 changed files with 44 additions and 1 deletions
+14
View File
@@ -650,6 +650,10 @@ Panel {
} }
// ---- Output devices ---- // ---- Output devices ----
PanelSeparator {
foreground: root.bar.foreground
}
Column { Column {
width: parent.width width: parent.width
spacing: Style.space(6) spacing: Style.space(6)
@@ -729,6 +733,11 @@ Panel {
} }
// ---- Input ---- // ---- Input ----
PanelSeparator {
visible: root.displayAudioSources.length > 0 || !!root.source
foreground: root.bar.foreground
}
Column { Column {
width: parent.width width: parent.width
spacing: Style.space(6) spacing: Style.space(6)
@@ -830,6 +839,11 @@ Panel {
} }
// ---- Per-app streams ---- // ---- Per-app streams ----
PanelSeparator {
visible: root.displayAudioStreams.length > 0
foreground: root.bar.foreground
}
Column { Column {
width: parent.width width: parent.width
spacing: Style.space(10) spacing: Style.space(10)
+16 -1
View File
@@ -441,7 +441,7 @@ Panel {
Column { Column {
id: column id: column
anchors.fill: parent anchors.fill: parent
spacing: Style.space(10) spacing: Style.space(14)
// ---------- Hero: Bluetooth icon · status ---------- // ---------- Hero: Bluetooth icon · status ----------
Item { Item {
@@ -508,6 +508,10 @@ Panel {
// Scrollable device list — capped so a noisy neighborhood doesn't // Scrollable device list — capped so a noisy neighborhood doesn't
// grow the popup past the screen. // grow the popup past the screen.
PanelSeparator {
foreground: root.bar.foreground
}
Flickable { Flickable {
id: deviceFlick id: deviceFlick
width: parent.width width: parent.width
@@ -546,6 +550,11 @@ Panel {
} }
// Remembered devices. // Remembered devices.
PanelSeparator {
visible: root.connectedDevices.length > 0 && root.knownDevices.length > 0
foreground: root.bar.foreground
}
PanelSectionHeader { PanelSectionHeader {
visible: root.knownDevices.length > 0 visible: root.knownDevices.length > 0
text: "PAIRED" text: "PAIRED"
@@ -567,6 +576,12 @@ Panel {
} }
// Discovered (unpaired) devices, only shown while scanning. // Discovered (unpaired) devices, only shown while scanning.
PanelSeparator {
visible: root.adapter && root.adapter.discovering && root.discoveredDevices.length > 0
&& (root.connectedDevices.length > 0 || root.knownDevices.length > 0)
foreground: root.bar.foreground
}
PanelSectionHeader { PanelSectionHeader {
visible: root.adapter && root.adapter.discovering && root.discoveredDevices.length > 0 visible: root.adapter && root.adapter.discovering && root.discoveredDevices.length > 0
text: "AVAILABLE" text: "AVAILABLE"
+14
View File
@@ -438,6 +438,11 @@ Panel {
} }
// ---------- Brightness ---------- // ---------- Brightness ----------
PanelSeparator {
visible: root.brightnessAvailable
foreground: root.bar.foreground
}
Column { Column {
visible: root.brightnessAvailable visible: root.brightnessAvailable
width: parent.width width: parent.width
@@ -515,6 +520,10 @@ Panel {
} }
// ---------- Scale ---------- // ---------- Scale ----------
PanelSeparator {
foreground: root.bar.foreground
}
Column { Column {
width: parent.width width: parent.width
spacing: Style.space(10) spacing: Style.space(10)
@@ -551,6 +560,11 @@ Panel {
} }
// ---------- Monitors ---------- // ---------- Monitors ----------
PanelSeparator {
visible: root.displays.length > 1
foreground: root.bar.foreground
}
Column { Column {
width: parent.width width: parent.width
spacing: Style.space(10) spacing: Style.space(10)