Enumeration: LayoutResizeMode
Auto-resize behaviour (mirrors Cocos Creator's Layout.ResizeMode): None — arrange only; never change any size (default, original behaviour). Container — grow/shrink the HOST's UITransform to fit the children's taken size (the main axis for Horizontal/Vertical; the row-stack height for Grid). Alignment then has no slack. Ideal for scroll-view content, tooltips, tag chips, etc. Children — resize the CHILDREN to fill the host: cross-axis fill for Horizontal/Vertical, uniform column cells for Grid (requires maxColumns > 0).
Enumeration Members
| Enumeration Member | Value |
|---|---|
Children | "children" |
Container | "container" |
None | "none" |