mib19: #i163287# workaround setPosSize() problem of toolkit
This commit is contained in:
parent
99523481ef
commit
16505c2b5c
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
//---------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue