uifw/EikStd/coctlsrc/AknToolbar.cpp
branchRCL_3
changeset 6 9f56a4e1b8ab
parent 0 2f259fa3e83a
child 8 71dd06cfe933
equal deleted inserted replaced
5:aabf2c525e0f 6:9f56a4e1b8ab
  3112             aGridPaneRect = TRect( TPoint(), aToolbarRect.Size() ); 
  3112             aGridPaneRect = TRect( TPoint(), aToolbarRect.Size() ); 
  3113 
  3113 
  3114 
  3114 
  3115             aCellPaneRect = RectFromLayout( aGridPaneRect,     
  3115             aCellPaneRect = RectFromLayout( aGridPaneRect,     
  3116                 AknLayoutScalable_Avkon::cell_sctrl_middle_pane( 0, 0, 0 ) );
  3116                 AknLayoutScalable_Avkon::cell_sctrl_middle_pane( 0, 0, 0 ) );
  3117             }
  3117 
  3118         }
  3118             //
  3119     else    
  3119             // fixing bug: ELJG-7XX8RE
       
  3120             // (Two extra black lines are displayed around toolbar area at first)
       
  3121             // extend the toolbar size by hard code
       
  3122             //
       
  3123             aToolbarRect.iTl.iY -= 1;
       
  3124             aToolbarRect.iBr.iY += 1;
       
  3125             }
       
  3126         }
       
  3127     else
  3120         {
  3128         {
  3121         if ( iOrientation == EAknOrientationHorizontal )
  3129         if ( iOrientation == EAknOrientationHorizontal )
  3122             {        
  3130             {
  3123             variety = 4;    
  3131             variety = 4;
  3124             aToolbarRect = RectFromLayout( aMainPaneRect,
  3132             aToolbarRect = RectFromLayout( aMainPaneRect,
  3125                 AknLayoutScalable_Avkon::popup_toolbar_window( variety ) );
  3133                 AknLayoutScalable_Avkon::popup_toolbar_window( variety ) );
  3126 
  3134 
  3127             aGridPaneRect = RectFromLayout( TRect( TPoint(), aToolbarRect.Size() ),
  3135             aGridPaneRect = RectFromLayout( TRect( TPoint(), aToolbarRect.Size() ),
  3128                 AknLayoutScalable_Avkon::grid_toobar_pane() );
  3136                 AknLayoutScalable_Avkon::grid_toobar_pane() );