I don't know how this can be a binding error, but of course you are right. Actually, the solution is quite simple after all: I define a bool property in the parent item and let both visible and height reference to it:
property bool flowVisible: true
Flow {
visible: flowVisible
height: flowVisible? childrenRect.height : 0
Repeater {
model: [my model]
delegate: CheckBox {
}
}
}
property bool flowVisible: true
Flow {
visible: flowVisible
height: flowVisible? childrenRect.height : 0
Repeater {
model: [my model]
delegate: CheckBox {
}
}
}
To copy to clipboard, switch view to plain text mode
Thanks!
Bookmarks