X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fsize-negotiation-controls.h;h=1663e79d8fcbe0c421b82c5e7f8eb1ec620db168;hp=641da16c0fc370d0a1b59581a9ec6f82a0becc02;hb=3826dbe84a1b03ec20e4ceba0e8132533e4cac33;hpb=a41a75fa9679db6703affe8870af6e1eb6bcfc48 diff --git a/docs/content/programming-guide/size-negotiation-controls.h b/docs/content/programming-guide/size-negotiation-controls.h index 641da16..1663e79 100644 --- a/docs/content/programming-guide/size-negotiation-controls.h +++ b/docs/content/programming-guide/size-negotiation-controls.h @@ -65,8 +65,7 @@ mBacking.SetResizePolicy( FILL_TO_PARENT, ALL_DIMENSIONS ); @endcode The popup control is added to the layer and a background image is specified to fill the size of the popup and add a border by the following. @code -mBackgroundImage.SetResizePolicy( FILL_TO_PARENT, ALL_DIMENSIONS ); -mBackgroundImage.SetSizeMode( SIZE_FIXED_OFFSET_FROM_PARENT ); +mBackgroundImage.SetResizePolicy( SIZE_FIXED_OFFSET_FROM_PARENT, ALL_DIMENSIONS ); Vector3 border( mPopupStyle->backgroundOuterBorder.x, mPopupStyle->backgroundOuterBorder.z, 0.0f ); mBackgroundImage.SetSizeModeFactor( border ); @endcode