meetingrequest/mrgui/src/cmrlistpane.cpp
branchRCL_3
changeset 80 726fba06891a
parent 64 3533d4323edc
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
   873         TInt fieldBottomY( focusedFieldRect.iBr.iY );
   873         TInt fieldBottomY( focusedFieldRect.iBr.iY );
   874 
   874 
   875         TInt listTopY( listPaneRect.iTl.iY );
   875         TInt listTopY( listPaneRect.iTl.iY );
   876         TInt listBottomY( listPaneRect.iBr.iY );
   876         TInt listBottomY( listPaneRect.iBr.iY );
   877 
   877 
   878         if ( ( fieldBottomY > listBottomY ||
   878         if ( ( fieldTopY > listBottomY ||
   879                 fieldTopY < listTopY ) &&
   879                 fieldBottomY < listTopY ) &&
   880                     focusedFieldRect.Height() < listPaneRect.Height() )
   880                     focusedFieldRect.Height() < listPaneRect.Height() )
   881             {
   881             {
   882             hiddenFocus = ETrue;
   882             hiddenFocus = ETrue;
   883             }
   883             }
       
   884 
   884         }
   885         }
   885     return hiddenFocus;
   886     return hiddenFocus;
   886     }
   887     }
   887 
   888 
   888 // ---------------------------------------------------------------------------
   889 // ---------------------------------------------------------------------------