X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fpopup.md;h=28b9854374d49dd752d5345a6ace5243c414d44b;hp=901d0d6709d6eb7d105379b17d15ff8c2126d8c1;hb=1710c1317e96351975f49bd208314f573021ae54;hpb=c01f2590ed7bb00d9b3600511d08dc420261ed46 diff --git a/docs/content/programming-guide/popup.md b/docs/content/programming-guide/popup.md index 901d0d6..28b9854 100644 --- a/docs/content/programming-guide/popup.md +++ b/docs/content/programming-guide/popup.md @@ -249,7 +249,7 @@ okButton.SetLabelText( "OK" ); okButton.SetParentOrigin( ParentOrigin::CENTER ); okButton.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER ); okButton.SetResizePolicy( ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT, Dimension::ALL_DIMENSIONS ); -okButton.SetSizeModeFactor( Vector3( -20.0f, -20.0f, 0.0 ) ); +okButton.SetProperty( Actor::Property::SIZE_MODE_FACTOR, Vector3( -20.0f, -20.0f, 0.0 ) ); okButton.ClickedSignal().Connect( this, &MyExample::OnOKButtonClicked ); Toolkit::PushButton cancelButton = Toolkit::PushButton::New(); @@ -257,7 +257,7 @@ cancelButton.SetLabelText( "Cancel" ); cancelButton.SetParentOrigin( ParentOrigin::CENTER ); cancelButton.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER ); cancelButton.SetResizePolicy( ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT, Dimension::ALL_DIMENSIONS ); -cancelButton.SetSizeModeFactor( Vector3( -20.0f, -20.0f, 0.0 ) ); +cancelButton.SetProperty( Actor::Property::SIZE_MODE_FACTOR, Vector3( -20.0f, -20.0f, 0.0 ) ); cancelButton.ClickedSignal().Connect( this, &MyExample::OnCancelButtonClicked ); // Set up the footer's layout.