Skip to content

Add focused application-UI layout primitives - #656

Closed
tritao wants to merge 11 commits into
nicbarker:mainfrom
tritao:feat/weighted-grow
Closed

tritao wants to merge 11 commits into
nicbarker:mainfrom
tritao:feat/weighted-grow

Conversation

@tritao

@tritao tritao commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add weighted GROW sizing with min/max redistribution
  • add main-axis distribution, baseline alignment, wrapped flow, row/column gaps, and per-child alignment
  • add generic external element measurement with intrinsic metrics and floating logical spacing
  • add regression, invariant, measurement, benchmark, and pathological-layout coverage

This intentionally stays an application-UI layout kernel and does not attempt CSS compatibility.

Validation

  • NativeKit integration CTest suite: 28/28 passed (joystick test skipped)
  • Clay layout benchmarks: 100, 1k, 10k, and 100k node scenarios
  • ASan layout tests and 10,000 randomized invariant cases passed

@tritao tritao closed this Sep 15, 2026
@tritao

tritao commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Didn't mean to open this at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant