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 ----
PanelSeparator {
foreground: root.bar.foreground
}
Column {
width: parent.width
spacing: Style.space(6)
@@ -729,6 +733,11 @@ Panel {
}
// ---- Input ----
PanelSeparator {
visible: root.displayAudioSources.length > 0 || !!root.source
foreground: root.bar.foreground
}
Column {
width: parent.width
spacing: Style.space(6)
@@ -830,6 +839,11 @@ Panel {
}
// ---- Per-app streams ----
PanelSeparator {
visible: root.displayAudioStreams.length > 0
foreground: root.bar.foreground
}
Column {
width: parent.width
spacing: Style.space(10)
+16 -1
View File
@@ -441,7 +441,7 @@ Panel {
Column {
id: column
anchors.fill: parent
spacing: Style.space(10)
spacing: Style.space(14)
// ---------- Hero: Bluetooth icon · status ----------
Item {
@@ -508,6 +508,10 @@ Panel {
// Scrollable device list — capped so a noisy neighborhood doesn't
// grow the popup past the screen.
PanelSeparator {
foreground: root.bar.foreground
}
Flickable {
id: deviceFlick
width: parent.width
@@ -546,6 +550,11 @@ Panel {
}
// Remembered devices.
PanelSeparator {
visible: root.connectedDevices.length > 0 && root.knownDevices.length > 0
foreground: root.bar.foreground
}
PanelSectionHeader {
visible: root.knownDevices.length > 0
text: "PAIRED"
@@ -567,6 +576,12 @@ Panel {
}
// 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 {
visible: root.adapter && root.adapter.discovering && root.discoveredDevices.length > 0
text: "AVAILABLE"
+14
View File
@@ -438,6 +438,11 @@ Panel {
}
// ---------- Brightness ----------
PanelSeparator {
visible: root.brightnessAvailable
foreground: root.bar.foreground
}
Column {
visible: root.brightnessAvailable
width: parent.width
@@ -515,6 +520,10 @@ Panel {
}
// ---------- Scale ----------
PanelSeparator {
foreground: root.bar.foreground
}
Column {
width: parent.width
spacing: Style.space(10)
@@ -551,6 +560,11 @@ Panel {
}
// ---------- Monitors ----------
PanelSeparator {
visible: root.displays.length > 1
foreground: root.bar.foreground
}
Column {
width: parent.width
spacing: Style.space(10)