{
if (!__isCalledBoundsChanged && !__isXmlBoundsExist)
{
- FloatDimension dim;
+ FloatRectangle bounds = GetBoundsF();
- GET_SHAPE_CONFIG(EDITDATE::WIDTH, GetOrientation(), dim.width);
- GET_SHAPE_CONFIG(EDITDATE::HEIGHT, GetOrientation(), dim.height);
+ GET_SHAPE_CONFIG(EDITDATE::WIDTH, GetOrientation(), bounds.width);
+ GET_SHAPE_CONFIG(EDITDATE::HEIGHT, GetOrientation(), bounds.height);
- SetSize(dim);
+ SetBounds(bounds, false);
}
__pEditDatePresenter->Initialize();
{
if (!__isCalledBoundsChanged && !__isXmlBoundsExist)
{
- FloatDimension dim;
+ FloatRectangle bounds = GetBoundsF();
- GET_SHAPE_CONFIG(EDITTIME::WIDTH, GetOrientation(), dim.width);
- GET_SHAPE_CONFIG(EDITTIME::HEIGHT, GetOrientation(), dim.height);
+ GET_SHAPE_CONFIG(EDITTIME::WIDTH, GetOrientation(), bounds.width);
+ GET_SHAPE_CONFIG(EDITTIME::HEIGHT, GetOrientation(), bounds.height);
- SetSize(dim);
+ SetBounds(bounds, false);
}
__pEditTimePresenter->Initialize();