diff --git a/ui/shared/Separator.qml b/ui/shared/Separator.qml index 9944a1a9e2..5fec2d0685 100644 --- a/ui/shared/Separator.qml +++ b/ui/shared/Separator.qml @@ -1,17 +1,17 @@ import QtQuick 2.13 import "../imports" -Rectangle { +Item { id: root + property color color: Style.current.border width: parent.width height: root.visible ? 1 : 0 anchors.topMargin: Style.current.padding - color: "transparent" Rectangle { id: separator width: parent.width height: 1 - color: Style.current.border + color: root.color anchors.verticalCenter: parent.verticalCenter } }