Remove Setter/Getter public APIs from Dali::Layer
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / utc-Dali-CheckBoxButton.cpp
index a43cbf2..b1f43b7 100644 (file)
@@ -196,7 +196,7 @@ int UtcDaliCheckBoxSetDisabledPropertyP(void)
   CheckBoxButton checkBox = CheckBoxButton::New();
   Stage::GetCurrent().Add( checkBox );
 
-  checkBox.SetSize( Vector2( 20.0f, 20.0f ) );
+  checkBox.SetProperty( Actor::Property::SIZE, Vector2( 20.0f, 20.0f ) );
   checkBox.SetProperty(checkBox.GetPropertyIndex("disabledUnselectedBackgroundVisual"),  "Image.jpg" );
 
   application.SendNotification();
@@ -367,7 +367,7 @@ int UtcDaliCheckBoxSetLabelDisabledP(void)
   CheckBoxButton checkBox = CheckBoxButton::New();
   Stage::GetCurrent().Add( checkBox );
 
-  checkBox.SetSize( Vector2( 20.0f, 20.0f ) );
+  checkBox.SetProperty( Actor::Property::SIZE, Vector2( 20.0f, 20.0f ) );
   checkBox.SetProperty(Button::Property::DISABLED_UNSELECTED_VISUAL, "Image.jpg" );
 
   application.SendNotification();