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?