diff -r 85902f042028 -r a5e7a4f63858 uifw/AvKon/src/akngrid.cpp --- a/uifw/AvKon/src/akngrid.cpp Wed Sep 15 12:29:17 2010 +0300 +++ b/uifw/AvKon/src/akngrid.cpp Wed Oct 13 14:50:15 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -109,12 +109,11 @@ public: // data TInt iFlags; - - // This is used to prevent MopSupplyObject being invoked - // from CEikListBox::MopGetObject(). + // EMMA-7A8B9F.Ugly hack. Prevent MopSupplyObject being invoked + // from CEikListBox::MopGetObject() TBool iIsFromBaseClass; - TPoint iLastPoint; + TBool iKineticScrolling; TBool iSingleClickEnabled; }; @@ -123,6 +122,7 @@ iFlags(0), iIsFromBaseClass( EFalse ), iLastPoint( 0, 0 ), + iKineticScrolling( CAknPhysics::FeatureEnabled() ), iSingleClickEnabled( iAvkonAppUi->IsSingleClickCompatible() ) { } @@ -1873,6 +1873,7 @@ // EHXA-7AQ8N4. Only set it to 0 can make scrollbar empty. vSbarModel.iScrollSpan = GridModel()->NumberOfItems() >0 ? gridSize.iHeight : 0; + vSbarModel.iThumbSpan = gridView->NumberOfRowsInView(); vSbarModel.iScrollSpan = GridModel()->NumberOfItems() >0 ? gridSize.iHeight*iView->ItemHeight() : 0; vSbarModel.iThumbSpan = rect.Height();