- // workaround because the first time this is called it still seems to be
- // in composited coordinates, while later it is not
- if ( !m_firstAdjustRect )
- {
- control->Move(ioParams->customRect.left , ioParams->customRect.top);
- }
- m_firstAdjustRect = false;
+ control->SetSize(ioParams->customRect.left , ioParams->customRect.top,
+ ioParams->customRect.right - ioParams->customRect.left,
+ ioParams->customRect.bottom - ioParams->customRect.top);