From 3d4bb9ab813d9dc469dd6311216425c7aff18199 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 7 Jun 2026 20:58:00 +0200 Subject: [PATCH] Add splitters to all panels... for now --- shell/plugins/panels/audio/Panel.qml | 14 ++++++++++++++ shell/plugins/panels/bluetooth/Panel.qml | 17 ++++++++++++++++- shell/plugins/panels/monitor/Panel.qml | 14 ++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/shell/plugins/panels/audio/Panel.qml b/shell/plugins/panels/audio/Panel.qml index 788b7a7e..02f4d281 100644 --- a/shell/plugins/panels/audio/Panel.qml +++ b/shell/plugins/panels/audio/Panel.qml @@ -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) diff --git a/shell/plugins/panels/bluetooth/Panel.qml b/shell/plugins/panels/bluetooth/Panel.qml index 589cc0a9..c1bbd51c 100644 --- a/shell/plugins/panels/bluetooth/Panel.qml +++ b/shell/plugins/panels/bluetooth/Panel.qml @@ -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" diff --git a/shell/plugins/panels/monitor/Panel.qml b/shell/plugins/panels/monitor/Panel.qml index 0a1f5972..c33dd491 100644 --- a/shell/plugins/panels/monitor/Panel.qml +++ b/shell/plugins/panels/monitor/Panel.qml @@ -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)