Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
5.3.2, 5.4.0 Beta
-
None
-
PC Windows 7 + minGW
Description
- Use attached project testsplitview_fails.zip that uses directly a ColumnLayout inside the SplitView
- Move splitter to the left
- the blue and green rectangles are resized below the limit of 100 pixels for the ColumnLayout. We can see in the console that the resize operations are done in the wrong order.
qml: ColumnLayout width changed = 53 qml: ColumnLayout width changed = 100 qml: blue rectangle width changed = 100 qml: blue rectangle width changed = 53
- Use now attached project testsplitview_works.zip that inserts the ColumnLayout inside an intermediate item
- Move splitter to the left
- the blue and green rectangles are resized down to the limit of 100 pixels and no more
- the console shows a correct order to resizing operations
qml: ColumnLayout width changed = 68 qml: blue rectangle width changed = 68 qml: ColumnLayout width changed = 100 qml: blue rectangle width changed = 100
- a subsequent question: why there is a useless expensive double resizing operation of all children, for example, resize first to 68 pixels, then to 100 pixels?