mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
accf92be2f
This was a regression introduced in https://github.com/status-im/status-desktop/pull/2065. The new wrapping Rectangle would get the color that is possibily passed down to Separator. Instead it should get properly bound to the actual separator.
18 lines
392 B
QML
18 lines
392 B
QML
import QtQuick 2.13
|
|
import "../imports"
|
|
|
|
Item {
|
|
id: root
|
|
property color color: Style.current.border
|
|
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
|
|
}
|
|
}
|