mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add splitters to all panels... for now
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user