Function taffy::compute::compute_grid_layout
source ยท pub fn compute_grid_layout(
tree: &mut impl PartialLayoutTree,
node: NodeId,
inputs: LayoutInput,
) -> LayoutOutput
Expand description
Grid layout algorithm This consists of a few phases:
- Resolving the explicit grid
- Placing items (which also resolves the implicit grid)
- Track (row/column) sizing
- Alignment & Final item placement