Merge "Updates following rename of PropertyBuffer to VertexBuffer" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / alignment / alignment-impl.cpp
index 6641d26..8000612 100644 (file)
@@ -215,8 +215,8 @@ void Alignment::OnRelayout( const Vector2& size, RelayoutContainer& container )
   {
     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 )
@@ -280,7 +280,7 @@ void Alignment::OnRelayout( const Vector2& size, RelayoutContainer& container )
       }
     }
 
-    child.SetPosition( GetPosition( mPadding, mHorizontal, mVertical , newChildSize, currentChildSize ) );
+    child.SetProperty( Actor::Property::POSITION, GetPosition( mPadding, mHorizontal, mVertical , newChildSize, currentChildSize ) );
 
     if( renegotiate )
     {