Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more main axis alignments #141

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

Uriopass
Copy link
Contributor

Add the Space* alignments using the same algorithm as Flutter:

https://github.com/flutter/flutter/blob/67457e669f/packages/flutter/lib/src/rendering/flex.dart#L963

(which is also the CSS spec, the Flutter doc is really vague about the details).

Screenshot from 2024-01-24 13-39-27

@Uriopass Uriopass requested a review from LPGhatguy as a code owner January 24, 2024 12:48
@Uriopass Uriopass force-pushed the more_main_axis_alignments branch from 2545cf0 to cb63dbd Compare January 24, 2024 12:49
Copy link
Member

@LPGhatguy LPGhatguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is perfect, thank you!

@LPGhatguy LPGhatguy merged commit 7295362 into SecondHalfGames:main Jan 25, 2024
2 checks passed
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.

2 participants