src/hbwidgets/itemviews/hbgridview.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbwidgets/itemviews/hbgridview.cpp	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbgridview.cpp	Mon May 03 12:48:33 2010 +0300
@@ -64,7 +64,12 @@
   See also  HbAbstractItemView,HbAbstractViewitem,HbGridViewItem,HbScrollArea
  */
 
-     
+/*!
+ \fn void HbGridView::setUniformItemSizes(bool enabled) is public from HbAbstractItemView but for HbGridView
+ Calling this method make no sense - in grid case it is reimplemented and do not change
+ anything (items are always same size).
+*/
+
 /*!
  Constructs a new HbGridView with \a parent.
  */
@@ -270,7 +275,8 @@
     d->mContainer->setPos(0,0);
     d->itemContainer()->orientationChanged(newOrientation);
 
-    scrollTo(d->mVisibleIndex, HbAbstractItemView::PositionAtCenter);
+    // abstract part is enought - container update buffer
+    HbAbstractItemView::scrollTo(d->mVisibleIndex, HbAbstractItemView::PositionAtCenter);
 
     d->mVisibleIndex = QModelIndex();
 }
@@ -376,7 +382,8 @@
     d->mContainer->setPos(0,0);
     d->itemContainer()->scrollDirectionChanged(scrollDirection);
 
-    scrollTo(d->mVisibleIndex, HbAbstractItemView::PositionAtCenter);
+    // abstract part is enought - container update buffer
+    HbAbstractItemView::scrollTo(d->mVisibleIndex, HbAbstractItemView::PositionAtCenter);
 
     d->mVisibleIndex = QModelIndex();
 }