From b02f3f750ac8d0633a854783dc5c3d88cc2da4b5 Mon Sep 17 00:00:00 2001 From: Agnelo Vaz Date: Mon, 22 Oct 2018 15:38:12 +0100 Subject: [PATCH 1/1] Update to doxygen for SetLayoutParametersUsingResizePolicy API Change-Id: I98cfa2c37417bc33a8b10bc7fb895b77e12510f1 --- dali-toolkit/internal/layouting/size-negotiation-mapper.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/layouting/size-negotiation-mapper.h b/dali-toolkit/internal/layouting/size-negotiation-mapper.h index d89996c..082da33 100644 --- a/dali-toolkit/internal/layouting/size-negotiation-mapper.h +++ b/dali-toolkit/internal/layouting/size-negotiation-mapper.h @@ -40,17 +40,19 @@ namespace SizeNegotiationMapper * @param[out] control the control to set the layout params on * @param[out] layout the layout for the given control * @param[in] dimension the dimension or dimensions the resize policy applies to. + * @note If Dimension::ALL_DIMENSIONS is provided as the dimension parameter then Dimension::WIDTH is used for + * both height and width mapping. */ void SetLayoutParametersUsingResizePolicy( Toolkit::Control control, Toolkit::Internal::LayoutItemPtr layout, const Dimension::Type dimension ); /** * @brief Sets the child layout parameters on the control using the a ResizePolicy that is dependant on it's parent - * @note This method should be used after a child has been parented and a parent measure spec is available. * @param[out] control the control to set the layout params on * @param[in] parentWidthSpecification the parent's width measure specification * @param[in] parentHeightSpecification the parent's height measure specification * @param[out] childWidth the resulting child width * @param[out] childHeight the resulting child height + * @note This method should be used after a child has been parented and a parent measure spec is available. */ void GetSizeofChildForParentDependentResizePolicy( Toolkit::Control control, const MeasureSpec parentWidthSpecification, const MeasureSpec parentHeightSpecification, LayoutLength& childWidth, LayoutLength& childHeight ); -- 2.7.4