X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fsize-negotiation-controls.h;h=c706da4c71feac8d3e4e771f5608deb99fff8336;hb=refs%2Fchanges%2F40%2F234640%2F2;hp=2f3ac40ab6ad37d9edc03d58ba06bbb4b8834710;hpb=820c66e71516e7a25600b8b5de2e84b5d44d8ff3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/size-negotiation-controls.h b/docs/content/programming-guide/size-negotiation-controls.h index 2f3ac40..c706da4 100644 --- a/docs/content/programming-guide/size-negotiation-controls.h +++ b/docs/content/programming-guide/size-negotiation-controls.h @@ -67,7 +67,7 @@ The popup control is added to the layer and a background image is specified to f @code mBackgroundImage.SetResizePolicy( ResizePolicy::SIZE_FIXED_OFFSET_FROM_PARENT, Dimension::ALL_DIMENSIONS ); Vector3 border( mPopupStyle->backgroundOuterBorder.x, mPopupStyle->backgroundOuterBorder.z, 0.0f ); -mBackgroundImage.SetSizeModeFactor( border ); +mBackgroundImage.SetProperty( Actor::Property::SIZE_MODE_FACTOR, border ); @endcode A table view is added to the popup to specify layout. It will fill to the width of the popup and expand/contract around its children cell heights. @code