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

Support Spacer widget inside WrapSuper #36

Open
ekuleshov opened this issue Dec 21, 2024 · 0 comments
Open

Support Spacer widget inside WrapSuper #36

ekuleshov opened this issue Dec 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ekuleshov
Copy link

I have some layout challenge which might be possible to resolve if WrapSupper supported the Spacer widget as a child or something similar to it.

Basically I'm trying to implement layout like:

| <child1> | .... empty space .... | <child2> | ... | <childN> |

And the idea is that I'd like these children would fill in the available width, and the <empty space> would shrink as available width decreases. Then if child2..N don't fit on the available width, they get pushed to the next row (and to rows after that). In that case the <empty space> would fill in the rest of row 1.

Additionally it would be great to be able to make the 2nd row (when it is not fully filled in) to be right aligned. Assuming that the <empty space> would push the trailing <child1> (or multiple trailing children) to the left.

@marcglasberg marcglasberg added the enhancement New feature or request label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants