-
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
Regression: Bottom panel nested inside a window keeps expanding the window #5173
Comments
Thanks for reporting and bisecting! This seems very related to: Basically: we should round visual shapes to physical pixels, and widgets/Uis to logical points, and not confuse the two |
OS: Windows10 If you run the example below under the above conditions, it will be normal.
|
I suspect this is dependent on |
@rustbasic Not sure why you included a Also, just in case it wasn't clear, when I say window, I refer to |
OS: Windows10 Yes, it seems to be fine under the above conditions. |
I can confirm that the same error occurs on Linux with Wayland. |
* Closes emilk#5173 * Part of emilk#5163 * Related to emilk#5164
If we put a
TopBottomPanel::bottom
inside a window, some widgets inside it, likeTextEdit::singleline
will cause the window to keep expanding vertically indefinitely.Demo video
demo.mp4
Bisect
This is a regression caused by #4943.
The offending code is here:
https://github.com/emilk/egui/pull/4943/files#diff-1b1b7f67a664568e1201e4336ca926fa687c506ffaaf2f237a21a1fa4619fab7R824-R825
If we comment this line out, the window stops expanding.
Minimal reproducing code
The text was updated successfully, but these errors were encountered: