--- a/uifw/AvKon/src/akngridview.cpp Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/src/akngridview.cpp Tue Aug 31 15:28:30 2010 +0300
@@ -77,8 +77,6 @@
iScrollingType = EScrollFollowsItemsAndLoops;
iScrollInSecondaryDimension = EScrollFollowsItemsAndLoops;
iGridDetails.iGridDimensions = TSize(1,1);
- iGridDetails.iColsInView = 1;
- iGridDetails.iRowsInView = 1;
}
/**
@@ -1927,30 +1925,22 @@
{
blankRect.SetRect(ItemPos(i), ItemSize());
blankRect.Intersection(iViewRect);
- if ( blankRect.Width() > 0 && blankRect.Height() > 0 )
- {
- MAknsSkinInstance *skin = AknsUtils::SkinInstance();
- CFormattedCellListBoxItemDrawer *id =
- (CFormattedCellListBoxItemDrawer*)ItemDrawer();
- if ( id->FormattedCellData()->Control())
- {
- MAknsControlContext *cc =
- AknsDrawUtils::ControlContext( id->FormattedCellData()->Control() );
- if ( !cc )
- {
- cc = id->FormattedCellData()->SkinBackgroundContext();
- }
- AknsDrawUtils::Background( skin,
- cc,
- id->FormattedCellData()->Control(),
- *iGc,
- blankRect );
- }
- else
- {
- iGc->Clear(blankRect);
- }
- }
+
+ MAknsSkinInstance *skin = AknsUtils::SkinInstance();
+ CFormattedCellListBoxItemDrawer *id = (CFormattedCellListBoxItemDrawer*)ItemDrawer();
+ if (id->FormattedCellData()->Control())
+ {
+ MAknsControlContext *cc = AknsDrawUtils::ControlContext( id->FormattedCellData()->Control() );
+ if ( !cc )
+ {
+ cc = id->FormattedCellData()->SkinBackgroundContext();
+ }
+ AknsDrawUtils::Background( skin, cc, id->FormattedCellData()->Control(), *iGc, blankRect );
+ }
+ else
+ {
+ iGc->Clear(blankRect);
+ }
}
_AKNTRACE_FUNC_EXIT;
}