calendarui/views/src/calenmissedeventcontainer.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 19 1984aceb8774
child 36 9c5b1510919f
--- a/calendarui/views/src/calenmissedeventcontainer.cpp	Wed Apr 14 15:55:57 2010 +0300
+++ b/calendarui/views/src/calenmissedeventcontainer.cpp	Tue Apr 27 16:36:22 2010 +0300
@@ -532,14 +532,18 @@
         ( aType == KUidValueCoeZoomChangeEvent ) ||
         ( aType == KUidValueCoeFontChangeEvent ))
         {
-        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
-        SetRect( appUi->ClientRect() );
+//        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
+//        SetRect( appUi->ClientRect() );
+        TRect mainPane;
+        AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane );
+        SetRect( mainPane );
         }
     
     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)
         {
         SizeChanged();
 
+        SetupFontL();
         // refresh
         TRAPD(err,iView->BeginRepopulationL());
         if(err!=KErrNone)