extract Separator component from applet divider rectangles

This commit is contained in:
Damocles 2026-04-23 23:32:10 +02:00
parent 2ec24e3075
commit 85e32dcd8c
8 changed files with 17 additions and 43 deletions

View file

@ -105,12 +105,7 @@ Column {
visible: root.sinkList.length > 1
width: parent.width
Rectangle {
width: parent.width - 16
height: 1
anchors.horizontalCenter: parent.horizontalCenter
color: S.Theme.base03
}
Separator {}
Text {
width: parent.width
@ -169,12 +164,8 @@ Column {
}
// Streams section
Rectangle {
Separator {
visible: root.streamList.length > 0
width: parent.width - 16
height: visible ? 1 : 0
anchors.horizontalCenter: parent.horizontalCenter
color: S.Theme.base03
}
Text {