Rectangle {
        width: parent.width
        height: childrenRect.height * 2
        Text {
                text: "title"
                anchors.centerIn: parent
        }
}

'QML Rectangle: Binding loop detected for property "height"'

I think that computation should be possible without creating a binding loop?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to