mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
WIP: Fix binding loops
This commit is contained in:
parent
940a833e73
commit
e821179d7f
1 changed files with 2 additions and 3 deletions
|
@ -15,7 +15,7 @@ Item
|
|||
id: base
|
||||
|
||||
implicitWidth: 200
|
||||
height: header.contentShown ? childrenRect.height : header.height
|
||||
height: header.contentShown ? (header.height + contentRectangle.height) : header.height
|
||||
|
||||
property var contentComponent: null
|
||||
|
||||
|
@ -47,7 +47,7 @@ Item
|
|||
anchors.top: header.bottom
|
||||
anchors.left: header.left
|
||||
anchors.right: header.right
|
||||
height: childrenRect.height
|
||||
height: contentLoader.height + 2
|
||||
|
||||
border.width: UM.Theme.getSize("default_lining").width
|
||||
border.color: UM.Theme.getColor("lining")
|
||||
|
@ -62,7 +62,6 @@ Item
|
|||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
height: childrenRect.height + 2
|
||||
anchors.margins: 1
|
||||
sourceComponent: base.contentComponent != null ? base.contentComponent : emptyComponent
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue