status-desktop/ui/shared/Separator.qml

18 lines
395 B
QML
Raw Normal View History

2020-06-17 19:31:01 +00:00
import QtQuick 2.13
import "../imports"
Item {
id: root
property color color: Style.current.separator
width: parent.width
height: root.visible ? 1 : 0
anchors.topMargin: Style.current.padding
Rectangle {
id: separator
width: parent.width
height: 1
color: root.color
anchors.verticalCenter: parent.verticalCenter
}
2020-05-29 15:43:37 +00:00
}