equal
deleted
inserted
replaced
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 |