Further Setter/Getter public API removal from Dali::Actor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-controller-impl.cpp
index 5470d8d..8cb03b4 100755 (executable)
@@ -3405,7 +3405,7 @@ Actor Controller::Impl::CreateBackgroundActor()
       actor.SetProperty( Dali::Actor::Property::NAME, "TextBackgroundColorActor" );
       actor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_LEFT );
       actor.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT );
-      actor.SetSize( textSize );
+      actor.SetProperty( Actor::Property::SIZE, textSize );
       actor.SetProperty( Actor::Property::COLOR_MODE, USE_OWN_MULTIPLY_PARENT_COLOR );
       actor.AddRenderer( renderer );
     }