meetingrequest/mrgui/src/cesmrview.cpp
branchRCL_3
changeset 80 726fba06891a
parent 64 3533d4323edc
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
   728                 TAknLayoutRect naviArrowRightLayoutRect =
   728                 TAknLayoutRect naviArrowRightLayoutRect =
   729                         NMRLayoutManager::GetLayoutRect( containerRect,
   729                         NMRLayoutManager::GetLayoutRect( containerRect,
   730                                 NMRLayoutManager::EMRLayoutMRNaviArrowRight );
   730                                 NMRLayoutManager::EMRLayoutMRNaviArrowRight );
   731                 TRect naviArrowRightRect( naviArrowRightLayoutRect.Rect() );
   731                 TRect naviArrowRightRect( naviArrowRightLayoutRect.Rect() );
   732     
   732     
   733                 // Right arrow needs to be moved left the amount of
   733                 // Right arrow needs to be moved right the amount of
   734                 // possible toolbar width in landscape
   734                 // stripe width in landscape
   735                 TInt scrollWidth( 0 );
   735                 naviArrowRightRect.Move( iStripeRect.Width(), 0 );
   736                 if( iScrollBar )
   736 
   737                     {
       
   738                     scrollWidth = iScrollBar->Rect().Width();
       
   739                     }
       
   740                 
       
   741                 naviArrowRightRect.Move( scrollWidth, 0 );
       
   742     
       
   743                 iNaviArrowRight->SetRect( naviArrowRightRect );
   737                 iNaviArrowRight->SetRect( naviArrowRightRect );
   744                 }
   738                 }
   745             }
   739             }
   746         else
   740         else
   747             {
   741             {