--- a/extras/calcsoft/src/CalcCont.cpp Fri Feb 19 22:52:07 2010 +0200
+++ b/extras/calcsoft/src/CalcCont.cpp Mon Mar 15 12:40:41 2010 +0200
@@ -800,9 +800,9 @@
if ( Layout_Meta_Data::IsLandscapeOrientation() )
{
// when calculator is in Landscape layout, the statuspane displays
- iEikonEnv->AppUiFactory()->StatusPane()
- ->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL );
AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPaneRect );
+ AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EStatusPane, statusPaneRect );
+ mainPaneRect.iTl = statusPaneRect.iTl;
}
else
{
--- a/extras/calcsoft/src/CalcView.cpp Fri Feb 19 22:52:07 2010 +0200
+++ b/extras/calcsoft/src/CalcView.cpp Mon Mar 15 12:40:41 2010 +0200
@@ -565,6 +565,8 @@
{
AknLayoutUtils::LayoutMetricsRect(AknLayoutUtils::EMainPane,mainPaneRect);
+ AknLayoutUtils::LayoutMetricsRect(AknLayoutUtils::EStatusPane,statusPaneRect);
+ mainPaneRect.iTl= statusPaneRect.iTl;
}