X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fcontent%2Fprogramming-guide%2Fsize-negotiation.h;h=d33109b82b2aca7e3f201cee388598f517ded7cf;hb=ad110f27c01af7e617df158891eef5cf60bf22e6;hp=ab8c06a45c447a7182175f14a9d93fdc3946bfce;hpb=8dd298d8917641dcc284fceef820410451fb81cb;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/size-negotiation.h b/docs/content/programming-guide/size-negotiation.h index ab8c06a..d33109b 100644 --- a/docs/content/programming-guide/size-negotiation.h +++ b/docs/content/programming-guide/size-negotiation.h @@ -160,7 +160,7 @@ Dali::Image checked = Dali::ResourceImage::New( CHECKBOX_CHECKED_IMAGE ); Toolkit::CheckBoxButton checkBox = Toolkit::CheckBoxButton::New(); checkBox.SetBackgroundImage( unchecked ); checkBox.SetSelectedImage( checked ); -checkBox.SetSize( Vector2( 48, 48 ) ); +checkBox.SetProperty( Actor::Property::SIZE, Vector2( 48, 48 ) ); root.AddChild( checkBox, Toolkit::TableView::CellPosition( 0, 0 ) );