mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
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:
parent
a052b8ec69
commit
a826dfb156
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ Cura.ExpandableComponent
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: parent.bottom
|
top: parent.top
|
||||||
}
|
}
|
||||||
|
|
||||||
color: UM.Theme.getColor("secondary")
|
color: UM.Theme.getColor("secondary")
|
||||||
|
@ -187,7 +187,7 @@ Cura.ExpandableComponent
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: parent.left
|
left: parent.left
|
||||||
bottom: parent.bottom
|
top: parent.top
|
||||||
}
|
}
|
||||||
|
|
||||||
color: UM.Theme.getColor("secondary")
|
color: UM.Theme.getColor("secondary")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue