path: root/src/imports/wavefrontmesh/qwavefrontmesh.cpp
diff options
authorWang Chuan <ouchuanm@outlook.com>2019-07-11 10:24:38 +0800
committerShawn Rutledge <shawn.rutledge@qt.io>2019-07-16 06:56:34 +0000
commitf806d64249c6e961ab12270d3a045e9980e19cf4 (patch)
treec85a6f3e731441f2d01d2b5fadf53a936968c568 /src/imports/wavefrontmesh/qwavefrontmesh.cpp
parent141ffbe37e9263829a156fc1f4d7b93a2bf311be (diff)
QQuickItemView: refill itself before populate transition
The view uses a visible items list, which is maintained by the refill() method, to determine which items should be triggered to do the populate transition. The refill() was only invoked when component completed before doing the populate transition; but if the size of the view depends on the size of window (for example, using anchors.fill), more delegates could become visible after component completed. In such a case, part of visible items were not be triggered to do the transition. [ChangeLog][QtQuick][Item Views] Item views such as ListView now properly populate delegates with a populate transition when the view is resized after componentComplete. Fixes: QTBUG-76487 Change-Id: Id90c3f73d9911c8a1d6d8b1ea0c51f6c27d0ed5b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/imports/wavefrontmesh/qwavefrontmesh.cpp')
0 files changed, 0 insertions, 0 deletions