Set separator line in delegate root item

This commit is contained in:
Angela Mazzurco 2017-07-09 13:34:11 +02:00
parent 02d4790890
commit 36708efa8c

View File

@ -65,6 +65,26 @@ Item
hoverEnabled: true hoverEnabled: true
} }
Rectangle
{
id: backgroundRectangle
anchors.fill: parent.fill
anchors.right: parent.right
width: parent.width - colorHash.width - 15
height: parent.height
color:"transparent"
Rectangle
{
id: borderBottom
width: parent.width
height: 1
anchors.bottom: parent.bottom
anchors.right: parent.right
color: "lightgrey"
}
}
Rectangle Rectangle
{ {
anchors.fill: parent anchors.fill: parent
@ -89,27 +109,6 @@ Item
} }
} }
Rectangle
{
id: backgroundRectangle
anchors.fill: parent.fill
anchors.right: parent.right
width: parent.width - colorHash.width - 15
height: parent.height
color:"transparent"
Rectangle
{
id: borderBottom
width: parent.width
height: 1
anchors.bottom: parent.bottom
anchors.right: parent.right
color: "lightgrey"
}
}
Column Column
{ {