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 MinGap #10

Open
migalv opened this issue Nov 7, 2022 · 0 comments
Open

Add MinGap #10

migalv opened this issue Nov 7, 2022 · 0 comments

Comments

@migalv
Copy link

migalv commented Nov 7, 2022

Hello, great package!

I was thinking it would be nice to have a MinGap that works as the MaxGap but the opposite. It stretches in the main axis when there is space but can't be smaller than a given size.

This is helpful when you want to separate two Widgets in the main axis but if they don't have enough space they stay at a minimum distance. For example you want to have 2 buttons separated in a row but when the Row shrinks you want them to have a separation of at least 8px, because less than that the widgets would be too close together.

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

No branches or pull requests

1 participant