Fixed popup label properties 93/37693/2
authorPaul Wisbey <p.wisbey@samsung.com>
Thu, 2 Apr 2015 13:53:59 +0000 (14:53 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Tue, 7 Apr 2015 10:28:55 +0000 (03:28 -0700)
Change-Id: I6d2d1131e8599734738f8d53f5cdbb901c059be7

dali-toolkit/internal/controls/popup/popup-impl.cpp

index 23df7aa..1bb4853 100755 (executable)
@@ -271,7 +271,8 @@ void Popup::SetTitle( const std::string& text )
 
   mTitle = Toolkit::TextLabel::New( text );
   mTitle.SetName( "POPUP_TITLE" );
 
   mTitle = Toolkit::TextLabel::New( text );
   mTitle.SetName( "POPUP_TITLE" );
-  mTitle.SetColor( Color::BLACK );
+  mTitle.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true );
+  mTitle.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" );
 
   if( mPopupLayout )
   {
 
   if( mPopupLayout )
   {