coreapplicationuis/powersaveutilities/batterypopupcontrol/src/batterypopupcontrol.cpp
branchRCL_3
changeset 7 fc3225a0ab43
parent 4 d440d4c7e9b4
child 18 0818dd463d41
equal deleted inserted replaced
6:a72ff4214918 7:fc3225a0ab43
   137     CCoeControl::HandleResourceChange( aType );
   137     CCoeControl::HandleResourceChange( aType );
   138     if ( aType == KEikDynamicLayoutVariantSwitch )
   138     if ( aType == KEikDynamicLayoutVariantSwitch )
   139         {
   139         {
   140         SizeChanged();
   140         SizeChanged();
   141         }
   141         }
       
   142 
       
   143 	// Position
       
   144 	TPoint uipRect;
       
   145 	if( AknLayoutUtils::LayoutMetricsPosition( AknLayoutUtils::EBatteryPane, uipRect ) )
       
   146 		{
       
   147 		iController->SetPosition( uipRect );
       
   148 		}
   142     }
   149     }
   143 
   150 
   144 
   151 
   145 // -----------------------------------------------------------------------------
   152 // -----------------------------------------------------------------------------
   146 // From class CCoeControl.
   153 // From class CCoeControl.