calendarui/views/src/calenmissedeventcontainer.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 19 1984aceb8774
child 36 9c5b1510919f
equal deleted inserted replaced
20:21239b3bcd78 21:9711e452b5e9
   530     
   530     
   531     if(( aType == KUidValueCoeColorSchemeChangeEvent ) ||
   531     if(( aType == KUidValueCoeColorSchemeChangeEvent ) ||
   532         ( aType == KUidValueCoeZoomChangeEvent ) ||
   532         ( aType == KUidValueCoeZoomChangeEvent ) ||
   533         ( aType == KUidValueCoeFontChangeEvent ))
   533         ( aType == KUidValueCoeFontChangeEvent ))
   534         {
   534         {
   535         CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
   535 //        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
   536         SetRect( appUi->ClientRect() );
   536 //        SetRect( appUi->ClientRect() );
       
   537         TRect mainPane;
       
   538         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane );
       
   539         SetRect( mainPane );
   537         }
   540         }
   538     
   541     
   539     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)
   542     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)
   540         {
   543         {
   541         SizeChanged();
   544         SizeChanged();
   542 
   545 
       
   546         SetupFontL();
   543         // refresh
   547         // refresh
   544         TRAPD(err,iView->BeginRepopulationL());
   548         TRAPD(err,iView->BeginRepopulationL());
   545         if(err!=KErrNone)
   549         if(err!=KErrNone)
   546             {
   550             {
   547             // do avoid warning
   551             // do avoid warning