diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2011-05-02 16:58:33 +0200 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2011-05-02 16:58:33 +0200 |
commit | fc345a6c356fdcdd28a67d212bb6750b2f494634 (patch) | |
tree | 5631731db9547af91ab0b81a5c16d48adff10cc3 /src/declarative/items/qsgpositioners_p_p.h | |
parent | 92970522b602844cbf932d5df6b62d6cf51e4416 (diff) |
Set ChildenDoNotOverlap flag on grids, lists and positioners.
QSGGridView, QSGListView, QSGRow, QSGColumn, QSGGrid and
QSGFlow now all set the ChildrenDoNotOverlap flag which allows
the scene graph to render nodes in a more optimal order.
Diffstat (limited to 'src/declarative/items/qsgpositioners_p_p.h')
-rw-r--r-- | src/declarative/items/qsgpositioners_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsgpositioners_p_p.h b/src/declarative/items/qsgpositioners_p_p.h index 241cbcfa3c..49de12a1fd 100644 --- a/src/declarative/items/qsgpositioners_p_p.h +++ b/src/declarative/items/qsgpositioners_p_p.h @@ -82,6 +82,7 @@ public: void init(QSGBasePositioner::PositionerType at) { type = at; + childrenDoNotOverlap = true; } int spacing; |