aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-01-14 16:01:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-14 19:36:46 +0100
commitd89f1dbe16b80b5e375f213c45b6130443f61a48 (patch)
tree81fcca05364f91d1ce9fe4c9c5738a4ae6700a2d /src
parent0874d65f05dc5e4de9912079f40ce0f38b64a7c1 (diff)
Fixing a mistake in the GridView documentation
The item size of the GridView is solely determined by the cellHeight and cellWidth property. I.e. the GridView will not resize the cells based on the root item size of the delegate. Change-Id: I007e4b1719d78ebf126d166c89bfe6c64e2206f7 Reviewed-by: Alan Alpert <aalpert@rim.com>
Diffstat (limited to 'src')
-rw-r--r--src/quick/items/qquickgridview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp
index b3783bad6c..fd9ce9ffcd 100644
--- a/src/quick/items/qquickgridview.cpp
+++ b/src/quick/items/qquickgridview.cpp
@@ -1350,8 +1350,8 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight)
that is not needed for the normal display of the delegate in a \l Loader which
can load additional components when needed.
- The GridView will layout the items based on the size of the root item
- in the delegate.
+ The item size of the GridView is determined by cellHeight and cellWidth. It will not resize the items
+ based on the size of the root item in the delegate.
\note Delegates are instantiated as needed and may be destroyed at any time.
State should \e never be stored in a delegate.