Discussion:
ColumnLayout | Repeater | implicitHeight of delegate
(too old to reply)
Igor Mironchik
2018-03-03 08:42:02 UTC
Permalink
Raw Message
Hello,

ColumnLayout {
        width: appWindow.width

        Repeater {
            model: searchModel

            delegate: Item {
                Layout.fillWidth: true
                implicitHeight: childrenRect.height


How can I set implicitHeight of delegate so there will no bind loops?
Thank you.

Without explicit set of implicitHeight ColumnLayot doesn't work...
Igor Mironchik
2018-03-03 09:17:27 UTC
Permalink
Raw Message
Hi,

Solution found: in the delegate I have one Row, and I just set
implicitHeight to row.implicitHeight
Post by Igor Mironchik
Hello,
ColumnLayout {
        width: appWindow.width
        Repeater {
            model: searchModel
            delegate: Item {
                Layout.fillWidth: true
                implicitHeight: childrenRect.height
How can I set implicitHeight of delegate so there will no bind loops?
Thank you.
Without explicit set of implicitHeight ColumnLayot doesn't work...
Loading...