Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1
-
None
Description
Following code causes the row's positioning functions to be called four times (once after componentComplete, three times from itemVisibilityChanged). Ideally positioning would only be done once during construction.
import Qt 4.7 Row { spacing: 2 Rectangle { color: "red"; width: 50; height: 50; anchors.left: greenRect.right } Rectangle { id: greenRect; color: "green"; width: 20; height: 50 } Rectangle { color: "blue"; width: 50; height: 20 } }