Fix binding loop in height of view selection bar

Since these were part of the childrenRect of the bar, and attached to the bottom of the bar, the childrenRect depended on the position of the children and that depends on the childrenRect again. So just attach it to the top, it's logical.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-21 16:12:00 +01:00
parent a052b8ec69
commit a826dfb156
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -164,7 +164,7 @@ Cura.ExpandableComponent
anchors
{
right: parent.right
bottom: parent.bottom
top: parent.top
}
color: UM.Theme.getColor("secondary")
@ -187,7 +187,7 @@ Cura.ExpandableComponent
anchors
{
left: parent.left
bottom: parent.bottom
top: parent.top
}
color: UM.Theme.getColor("secondary")