Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0, 4.7.1
-
None
-
Observed on Ubuntu 10.10 (Qt 4.7.0) and Ubuntu 11.04 (Qt 4.7.1).
-
e2b5681b1adab83555c7307b05f508d796a1152b
Description
When moving an element to the top of the model, the y positions of all the delegates in the ListView are incremented by the value of the 'spacing' property.
The file attached is a minimal example that demonstrates the issue: every 1000 milliseconds, the timer moves the element at index 1 to index 0, and as a consequence the y coordinate of all the delegates is incremented by 10 (the value of the 'spacing).
Note that the mirror operation (moving the element at index 0 to index 1) doesn't expose the issue.