mib19: #i163287# workaround setPosSize() problem of toolkit

This commit is contained in:
Mikhail Voytenko 2010-08-27 16:16:02 +02:00
parent 99523481ef
commit 16505c2b5c

View file

@ -1010,7 +1010,7 @@ double UserFormGeometryHelper::getLeft()
//---------------------------------------------
void UserFormGeometryHelper::setLeft( double nLeft )
{
mxWindow->setPosSize( nLeft, 0, 0, 0, awt::PosSize::X );
mxWindow->setPosSize( nLeft, mxWindow->getPosSize().Y, 0, 0, awt::PosSize::POS );
}
//---------------------------------------------
@ -1022,7 +1022,7 @@ double UserFormGeometryHelper::getTop()
//---------------------------------------------
void UserFormGeometryHelper::setTop( double nTop )
{
mxWindow->setPosSize( 0, nTop, 0, 0, awt::PosSize::Y );
mxWindow->setPosSize( mxWindow->getPosSize().X, nTop, 0, 0, awt::PosSize::POS );
}
//---------------------------------------------