status-desktop/ui/imports/shared/panels/Separator.qml

20 lines
418 B
QML

import QtQuick 2.13
import utils 1.0
Item {
id: root
property color color: Style.current.separator
width: parent.width
implicitHeight: 1
height: root.visible ? implicitHeight : 0
anchors.topMargin: Style.current.padding
Rectangle {
id: separator
width: parent.width
height: 1
color: root.color
anchors.verticalCenter: parent.verticalCenter
}
}