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

20 lines
418 B
QML
Raw Permalink Normal View History

2020-06-17 19:31:01 +00:00
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 {
2022-09-27 21:26:26 +00:00
id: separator
width: parent.width
height: 1
color: root.color
anchors.verticalCenter: parent.verticalCenter
}
2020-05-29 15:43:37 +00:00
}