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

Why layouts dont stack #4624

Closed
suprohub opened this issue Jun 5, 2024 · 7 comments
Closed

Why layouts dont stack #4624

suprohub opened this issue Jun 5, 2024 · 7 comments
Labels
bug Something is broken layout Related to widget layout

Comments

@suprohub
Copy link

suprohub commented Jun 5, 2024

image
image
I want these widgets to be in the center

@suprohub suprohub added the bug Something is broken label Jun 5, 2024
@suprohub
Copy link
Author

suprohub commented Jun 5, 2024

and i want these widgets to be expanded

@emilk emilk added the layout Related to widget layout label Jun 5, 2024
@suprohub
Copy link
Author

suprohub commented Jun 6, 2024

anyone help?

@suprohub
Copy link
Author

suprohub commented Jun 6, 2024

horizontal centered breaks everything

@suprohub
Copy link
Author

suprohub commented Jun 6, 2024

image
image

@suprohub
Copy link
Author

suprohub commented Jun 6, 2024

image
image

@emilk
Copy link
Owner

emilk commented Jun 6, 2024

This is because of shortcomings inherent in immediate mode: https://github.com/emilk/egui?tab=readme-ov-file#disadvantages-of-immediate-mode

That said, there is some work towards making this better. You can track that here: #4378

@emilk emilk closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
@suprohub
Copy link
Author

suprohub commented Jun 6, 2024

This is because of shortcomings inherent in immediate mode: https://github.com/emilk/egui?tab=readme-ov-file#disadvantages-of-immediate-mode

That said, there is some work towards making this better. You can track that here: #4378

Ok and how a i can made "horizontal centered" now not breaking all ui?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken layout Related to widget layout
Projects
None yet
Development

No branches or pull requests

2 participants