Added interface for queuing input events in TextController
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / text-controls / text-label-impl.cpp
index 93c5500..073b02b 100644 (file)
@@ -127,7 +127,7 @@ Property::Value TextLabel::GetProperty( BaseObject* object, Property::Index inde
 
 void TextLabel::OnInitialize()
 {
-  mController = Text::Controller::New();
+  mController = Text::Controller::New( *this );
 }
 
 Vector3 TextLabel::GetNaturalSize()
@@ -186,6 +186,11 @@ void TextLabel::SetMultiLine( bool multiLine )
   }
 }
 
+void TextLabel::RequestTextRelayout()
+{
+  RelayoutRequest();
+}
+
 TextLabel::TextLabel()
 : Control( ControlBehaviour( CONTROL_BEHAVIOUR_NONE ) )
 {