extras/about/src/AboutContainer.cpp
branchRCL_3
changeset 14 a616540b95d9
parent 9 90f44fa581ce
child 18 a7d8840c0b8c
equal deleted inserted replaced
13:82ca176301de 14:a616540b95d9
   584 
   584 
   585     // minimum bottom margin is 3% of the client rect
   585     // minimum bottom margin is 3% of the client rect
   586     TInt bottomMargin = mainPaneHeight * 3 / 100;
   586     TInt bottomMargin = mainPaneHeight * 3 / 100;
   587     iLinesPerScreen =
   587     iLinesPerScreen =
   588         ( mainPaneHeight - topMargin - bottomMargin ) / iBaseLineDelta;
   588         ( mainPaneHeight - topMargin - bottomMargin ) / iBaseLineDelta;
   589 
   589     
   590     iTextAlign = CGraphicsContext::ELeft;
   590     TInt uiLanguage = User::Language();
       
   591     
       
   592     if( uiLanguage == ELangArabic || uiLanguage == ELangFarsi || 
       
   593         uiLanguage == ELangHebrew || uiLanguage == ELangUrdu )
       
   594     	{
       
   595         iTextAlign = CGraphicsContext::ERight;
       
   596     	}
       
   597     else
       
   598     	{
       
   599         iTextAlign = CGraphicsContext::ELeft;
       
   600     	}
       
   601 
   591    
   602    
   592     if ( iText )
   603     if ( iText )
   593         {
   604         {
   594         iText->ResetAndDestroy();
   605         iText->ResetAndDestroy();
   595         delete iText;
   606         delete iText;