extract Separator component from applet divider rectangles
This commit is contained in:
parent
2ec24e3075
commit
85e32dcd8c
8 changed files with 17 additions and 43 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue