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

20 lines
423 B
QML
Raw Normal View History

import QtQuick 2.15
import StatusQ.Core.Theme 0.1
Item {
id: root
property color color: Theme.palette.separator
width: parent.width
implicitHeight: 1
height: root.visible ? implicitHeight : 0
anchors.topMargin: Theme.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
}