bool IsLayoutAnimated() const;
/**
- * @brief Register child properties of layout with owner type.
- *
- * The Actor hierarchy uses these registered properties in the type
- * system to ensure child custom properties are properly initialized.
- *
- * @param[in] containerType The type of the containing view (owner)
- */
- void RegisterChildProperties( const std::string& containerType );
-
- /**
* @brief This is called to find out how big a layout should be.
*
* The parent supplies constraint information in the width and height parameters.
bool IsLayoutRequested() const;
/**
+ * @brief Set layout requested flag (mark the layout dirty).
+ */
+ void SetLayoutRequested();
+
+ /**
* @brief Get the measured width (without any measurement flags).
*
* This method should be used only during measurement and layout calculations.
LayoutLength GetMinimumHeight() const;
/**
- * Get the padding information
+ * Get the padding information.
* @return The padding information
*/
Extents GetPadding() const;
+ /**
+ * Get the margin information.
+ * @return The margin information
+ */
+ Extents GetMargin() const;
+
protected:
/**
* @brief Allow directly deriving classes to remove layout children when unparented
*/
virtual void OnRegisterChildProperties( const std::string& containerType );
-
/**
* @brief Measure the layout and its content to determine the measured width and the
* measured height.
*/
void OnLayoutAnimationFinished( Animation& animation );
+ /**
+ * @brief Register child properties of layout with owner type.
+ *
+ * The Actor hierarchy uses these registered properties in the type
+ * system to ensure child custom properties are properly initialized.
+ *
+ * @param[in] containerType The type of the containing view (owner)
+ */
+ void RegisterChildProperties( const std::string& containerType );
+
public:
class Impl; // Class declaration is public so we can add devel API's in the future