Size negotiation patch 3: Scope size negotiation enums
[platform/core/uifw/dali-demo.git] / examples / builder / examples.cpp
index e00c114..5578d7c 100644 (file)
@@ -395,7 +395,7 @@ public:
   {
     TextLabel label = TextLabel::New( ShortName( text ) );
     label.SetProperty( Dali::Toolkit::Control::Property::STYLE_NAME, "builderlabel" );
-    label.SetResizePolicy( FILL_TO_PARENT, WIDTH );
+    label.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::WIDTH );
 
     // Hook up tap detector
     mTapDetector.Attach( label );