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

information about organizing elements? #48

Open
kylebakerio opened this issue Jan 13, 2021 · 1 comment
Open

information about organizing elements? #48

kylebakerio opened this issue Jan 13, 2021 · 1 comment

Comments

@kylebakerio
Copy link
Collaborator

It seems by default that in all the examples I see, you can only stack elements one on top of the others. Is there a way to flow things side-by-side? Is the expected idea that you nest containers and each container only has vertically stacked content within itself, so you'd do two nested containers in a parent container to get side-by-side content?

This is a bit unclear and not demonstrated as far as I've noticed. Lots of the documentation gives the vibe that there's some sense of content flowing, but I still am unsure how that is supposed to work and it hasn't worked exactly as expected.

@kylebakerio
Copy link
Collaborator Author

I went ahead and inferred stuff from some examples and made some guesses and have found that using child gui-flex-container wit flex-direction as row allows putting horizontal elements, while putting flex-direction for the outer gui-flex-container as column allows stacking the rows. Should have an example of this in the main demo and info in the docs, but working fairly intuitively.

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