docs: Add AutoLayout vs CSS Flexbox comparison documentation #1505
+554
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): https://github.com/unoplatform/uno.toolkit.ui-private/issues/17
PR Type
What is the current behavior?
No documentation exists comparing AutoLayout (Figma's layout paradigm) with CSS Flexbox, making it difficult for developers familiar with web layouts to understand how to achieve equivalent layouts in Uno Toolkit.
What is the new behavior?
Adds comprehensive comparison documentation (
doc/controls/AutoLayout-vs-CSS-Flexbox.md) covering:space-aroundorspace-evenlyIsReverseZIndexaffects z-order only, not visual layout orderAlso updates
AutoLayoutControl.mdwith "See Also" links and adds TOC entry.PR Checklist
Other information
Documentation-only change. Analysis based on AutoLayout source code in
src/Uno.Toolkit.UI/Controls/AutoLayout/.Internal Issue (If applicable):
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.