Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.12, 5.14.0, 5.15.7, 6.2.1
Description
QML Flickable: Binding loop detected for property "contentWidth"
I followed the document to set the contentwidth and contentheight as same as the contentItem, but met this warning. Below is the snippet.
// code placeholder
import QtQuick 2.12import QtQuick.Window 2.12 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Flickable { contentWidth: contentItem.childrenRect.width; contentHeight: contentItem.childrenRect.height Image { width: 1000 height: 1000 } } }
Attachments
Issue Links
- relates to
-
QTBUG-35038 QML Flickable: Binding loop detected for property "width"
- Closed