Emphasise the importance of the 'auto' sizing option of layouts

This commit is contained in:
Dominik Jain 2026-03-03 20:45:49 +01:00 committed by Andrey Antukh
parent ac6541d74a
commit 6c7c584c9a

View File

@ -129,7 +129,7 @@ Boards can have layout systems that automatically control the positioning and sp
* Auto-sizing: both types of layouts have properties `verticalSizing`, `horizontalSizing`: "fix" | "auto" | "fill"
- `fix` (default): no resizing (size determined by shape's own width/height)
- `auto`: size determined by content (container will resize depending on children's dimensions)
- `auto`: size determined by content (container will resize depending on children's dimensions); ALWAYS set this if you want the container size to adapt to contents/margins/spacings!
- `fill`: resize children to fill the container's size (child resizing is controlled by each child's `layoutChild` properties)
* When working with boards: