Hi,
I receive a strange binding error that I don't understand. The output seems to work as expected. By commenting out unnessecary stuff I've tracked it down to this minimal example:
Flow {
height: visible ? childrenRect.height : 0
Repeater {
model: [my model]
delegate: CheckBox {
}
}
}
Flow {
height: visible ? childrenRect.height : 0
Repeater {
model: [my model]
delegate: CheckBox {
}
}
}
To copy to clipboard, switch view to plain text mode
That gives me
QML Flow: Binding loop detected for property "height"
Please note: if I change height property to
height: childrenRect.height
height: childrenRect.height
To copy to clipboard, switch view to plain text mode
(thus removing the ternary operator), the error does not occur. That especially leaves me puzzled.
Any ideas?
Bookmarks