Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.0
-
None
Description
When there is the hierarchy
Control (or any of its subclasses from QtQuickControls2)
a layout (ColumknLayout, RowLayout or GridLayout)
and Text (or Label from QtQuickControls2)
Item { width: 300 implicitHeight: layout.implicitHeight ColumnLayout { id: layout anchors.fill:parent Text { Layout.fillWidth: true text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam purus lacus, cursus id fermentum vel" wrapMode: Text.WordWrap } } }
we have a binding loop on implicitHeight if the Control has a fixed width and height not set (default)
This is a very common case in listviews, where one can have a Delegate as ListView delegate and a layout with various labels inside to show the model data, leading to views with visible layout problems.
Attachments
Issue Links
- relates to
-
QTBUG-36525 Binding loop warning message does not give sufficient information in order to fix it
-
- Open
-