- contentLayout.SetSizeModeFactor( Vector3( 1.0f, .5f, 1.0f ) );
- contentLayout.SetAnchorPoint( AnchorPoint::CENTER );
- contentLayout.SetParentOrigin( ParentOrigin::CENTER );
+ contentLayout.SetProperty( Actor::Property::SIZE_MODE_FACTOR, Vector3( 1.0f, .5f, 1.0f ) );
+ contentLayout.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
+ contentLayout.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );