--- a/emailuis/emailui/src/FreestyleEmailUiLauncherGridVisualiser.cpp Wed Jun 09 09:22:57 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailUiLauncherGridVisualiser.cpp Mon Jun 21 15:20:54 2010 +0300
@@ -912,6 +912,7 @@
iAppUi.SetFocusVisibility( EFalse );
HandleButtonReleaseEvent(); // Finishes the focus removal.
iStylusPopUpMenuLaunched = EFalse;
+ UpdateGridOffset();
break;
}
case EFsEmailUiCmdSync:
@@ -1826,6 +1827,7 @@
{
iDoubleClickLock = EFalse;
}
+ UpdateGridOffset();
}
void CFSEmailUiLauncherGridVisualiser::GetParentLayoutsL(
@@ -2778,6 +2780,7 @@
iStartupCallbackTimer->Start( 200 );
}
+ UpdateGridOffset();
CFsEmailUiViewBase::HandleAppForegroundEventL( aForeground );
}
@@ -2816,3 +2819,18 @@
}
}
+// ---------------------------------------------------------------------------
+// CFSEmailUiLauncherGridVisualiser::UpdateGridOffset()
+// ---------------------------------------------------------------------------
+//
+void CFSEmailUiLauncherGridVisualiser::UpdateGridOffset()
+ {
+ if ( iConstructionCompleted )
+ {
+ TAlfTimedPoint alfScrollOffset;
+ alfScrollOffset.iY.SetTarget( 1.0 , 0);
+ iCurrentLevel.iGridLayout->SetScrollOffset(alfScrollOffset);
+ iCurrentLevel.iParentPos.iY = 1.0;
+ }
+ }
+