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 );
}