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

Equal width of children #513

Open
inneke-dc opened this issue Oct 14, 2019 · 0 comments
Open

Equal width of children #513

inneke-dc opened this issue Oct 14, 2019 · 0 comments

Comments

@inneke-dc
Copy link

Is it possible to have all children in one row to have the same width?

When I use the same flexGrow value for all children, they won't take up the same amount of space if their wrapped width is not the same.
For example: two textviews side by side with a middle divider. If one textview contains 'abc' and the other 'abcdef', then the divider isn't shown in the middle of the screen.

I don't know if there is a combination of attributes I can use to achieve this result. The expected behavior would be to grow the children in a way that they end up with an equal width, or at least grow the smallest children and leave the biggest ones as they are if there's not enough space.

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