Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-demo.git] / examples / bezier-curve / bezier-curve-example.cpp
index f06f942..8fddca7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -212,7 +212,7 @@ public:
     PushButton play = PushButton::New();
     play.SetName("Play");
     play.SetParentOrigin(ParentOrigin::CENTER);
-    play.SetLabelText("Play");
+    play.SetProperty( Button::Property::LABEL, "Play");
     play.ClickedSignal().Connect( this, &BezierCurveExample::OnPlayClicked );
 
     contentLayout.Add( play );