javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcaptionedcontrol.cpp
branchRCL_3
changeset 19 71c436fe3ce0
parent 14 04becd199f91
child 21 4376525cdefb
equal deleted inserted replaced
18:9ac0a0a7da70 19:71c436fe3ce0
    88         iPrevPos = iPosition;
    88         iPrevPos = iPosition;
    89     }
    89     }
    90 
    90 
    91     if (iChild)
    91     if (iChild)
    92     {
    92     {
    93         iChild->CoeControl().SetSize(iSize);
    93         // Divert the job to UiUtils if this is an editor open for split view editing.
       
    94         MSwtUiUtils& utils = iChild->GetShell().Display().UiUtils();
       
    95         if (utils.SplitInputView() == iChild)
       
    96         {
       
    97             utils.SetSplitInputViewSize(iSize);
       
    98         }
       
    99         else
       
   100         {
       
   101             iChild->CoeControl().SetSize(iSize);
       
   102         }
    94     }
   103     }
    95 }
   104 }
    96 
   105 
    97 // ---------------------------------------------------------------------------
   106 // ---------------------------------------------------------------------------
    98 // CSwtCaptionedControl::NewL
   107 // CSwtCaptionedControl::NewL
   672     }
   681     }
   673     else
   682     else
   674     {
   683     {
   675         iPointerGrabbingControl = NULL;
   684         iPointerGrabbingControl = NULL;
   676         ASwtControlBase::SetSwtFocus(KSwtFocusByPointer);
   685         ASwtControlBase::SetSwtFocus(KSwtFocusByPointer);
       
   686         PostMouseEventL(aPointerEvent);
   677     }
   687     }
   678 }
   688 }
   679 #endif // RD_SCALABLE_UI_V2
   689 #endif // RD_SCALABLE_UI_V2
   680 
   690 
   681 // ---------------------------------------------------------------------------
   691 // ---------------------------------------------------------------------------