@@ -24,10 +24,12 @@ class AViewContainer;
2424 * @defgroup layout-managers Layout Managers
2525 * @ingroup views
2626 * @details In AUI, layout building consists of layout managers. Layout manager determines position and size of
27- * [container](aviewcontainer.md)'s children [views](aview.md). A [container](aviewcontainer.md) is a [AView]
28- * "view" that consists of other [views](aview.md), called children. In general, layout manager does not allow going
27+ * [container](aviewcontainer.md)'s children [views](aview.md). A [container](aviewcontainer.md) is a [view](aview.md)
28+ * that consists of other [views](aview.md), called children. In general, layout manager does not allow going
2929 * beyond the border of the [container](aviewcontainer.md). A [container](aviewcontainer.md) can be a child of an
30- * another [container](aviewcontainer.md) i.e., nesting is allowed.
30+ * another [container](aviewcontainer.md). Such nested combinations allows to replicate nearly any UI layout.
31+ *
32+ * This approach can be found in many popular declarative UI frameworks.
3133 *
3234 * The ALayout is the base class for all layout managers in AUI. Layout managers are responsible for:
3335 *
@@ -53,31 +55,31 @@ class AViewContainer;
5355 * Key concepts:
5456 *
5557 * 1. **Minimum Size** - Layout managers calculate minimum size requirements by:
56- * - Considering minimum sizes of child views
57- * - Adding margins and spacing
58- * - Respecting fixed size constraints
59- * - Following [aui-box-model].
58+ * - Considering minimum sizes of child views
59+ * - Adding margins and spacing
60+ * - Respecting fixed size constraints
61+ * - Following [aui-box-model].
6062 *
6163 * 2. **[Expanding Views](#EXPANDING)** - Children can expand to fill available space of their parent:
62- * - Set via [AView::setExpanding()] or [ass::Expanding] on a child
63- * - Requires parent to have [ass::FixedSize] or [ass::MinSize] or [EXPANDING] set to take effect
64- * - Independent for horizontal/vertical directions
65- * - Ignored if [ass::FixedSize] is set
64+ * - Set via [AView::setExpanding()] or [ass::Expanding] on a child
65+ * - Requires parent to have [ass::FixedSize] or [ass::MinSize] or [EXPANDING] set to take effect
66+ * - Independent for horizontal/vertical directions
67+ * - Ignored if [ass::FixedSize] is set
6668 *
6769 * 3. **Spacing** - Configurable gaps between views:
68- * - Set via [ALayout::setSpacing()] or [ass::LayoutSpacing] of the parent view
69- * - Part of minimum size calculations of the parent view
70- * - Applied uniformly between its child views
70+ * - Set via [ALayout::setSpacing()] or [ass::LayoutSpacing] of the parent view
71+ * - Part of minimum size calculations of the parent view
72+ * - Applied uniformly between its child views
7173 *
7274 * 4. **Margins** - Space around individual views:
73- * - Set per-view via ASS or margins property
74- * - Respected during layout
75- * - Part of minimum size calculations of the parent view
75+ * - Set per-view via ASS or margins property
76+ * - Respected during layout
77+ * - Part of minimum size calculations of the parent view
7678 *
7779 * 5. **Layout Direction** - Overall flow direction:
78- * - Horizontal layouts flow left-to-right
79- * - Vertical layouts flow top-to-bottom
80- * - Grid layouts use both directions
80+ * - Horizontal layouts flow left-to-right
81+ * - Vertical layouts flow top-to-bottom
82+ * - Grid layouts use both directions
8183 *
8284 * 6. **Relativeness** - children position is relative to parent's position, not an absolute position within a window.
8385 *
@@ -173,9 +175,7 @@ class AViewContainer;
173175 * );
174176 * ```
175177 * </td>
176- * <td>
177- * 
178- * </td>
178+ * <td><img src="https://github.com/aui-framework/aui/raw/develop/docs/imgs/Screenshot_20250625_011101.png" /></td>
179179 * </tr>
180180 * </table>
181181 *
0 commit comments