-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Auto sized Window does not get updated when app window is resized larger #4300
Labels
bug
Something is broken
Comments
I think this bug was introduced by #4199 Potential fixes:
|
I think using ScrollArea will help. egui::ScrollArea::both()
.show(ui, |ui| {
ui.horizontal_wrapped(|ui| {
ui.label("test test test");
});
}); |
This has nothing to do with #4199. #4199 limits the maximum size to screen_rect(), and has no effect elsewhere. However, #4199 has significant limitations, so for future development, I will submit a Pull Request with minimal limitations. |
This was referenced Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When having a auto sized Window, texts get squished when the app window is small (see screenshots).
This is to be expected. However, it does not return to normal after the window is resized larger.
To Reproduce
Steps to reproduce the behavior:
0. This is just speculation, didn't actually test if this reprod would work.
Expected behavior
For it not to do that, not to wrap the text even though there's enough space.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: