{
Actor child = Self().GetChildAt(i);
- child.SetAnchorPoint( anchorPointAndParentOrigin );
- child.SetParentOrigin( anchorPointAndParentOrigin );
+ child.SetProperty( Actor::Property::ANCHOR_POINT, anchorPointAndParentOrigin );
+ child.SetProperty( Actor::Property::PARENT_ORIGIN, anchorPointAndParentOrigin );
Vector2 currentChildSize( child.GetTargetSize().GetVectorXY() );
if( currentChildSize == Vector2::ZERO )
}
}
- child.SetPosition( GetPosition( mPadding, mHorizontal, mVertical , newChildSize, currentChildSize ) );
+ child.SetProperty( Actor::Property::POSITION, GetPosition( mPadding, mHorizontal, mVertical , newChildSize, currentChildSize ) );
if( renegotiate )
{