You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Here we have a game-type interface, with a TopBottomPanel menu bar at the top and a TopBottomPanel band of widgets at the bottom.
The bottom panel has a translucent grey background. It's suppose to size itself to the content.
Sizing worked prior to egui 0.21.0, but in 0.21.0, something very strange happens. Note the column of radio buttons, "Walk/Run/Fly". That column is slightly higher than the other widgets in the bar. The bar expands upward, and keeps slowly expanding until it fills the whole screen. See picture.
John-Nagle
changed the title
In egui 0.15, but not before, bottom panel slowly grows if radio buttons try to expand it
In egui 0.21.0, but not before, bottom panel slowly grows if radio buttons try to expand it
Mar 11, 2023
Describe the bug
Here we have a game-type interface, with a TopBottomPanel menu bar at the top and a TopBottomPanel band of widgets at the bottom.
The bottom panel has a translucent grey background. It's suppose to size itself to the content.
Sizing worked prior to egui 0.21.0, but in 0.21.0, something very strange happens. Note the column of radio buttons, "Walk/Run/Fly". That column is slightly higher than the other widgets in the bar. The bar expands upward, and keeps slowly expanding until it fills the whole screen. See picture.
Relevant egui code is:
The enclosing TopBottomPanel code:
self.panel_movement.draw(ui, state)
is drawing the 3 radio buttons. Everything else expands the bottom bar as needed, but it doesn'tAll this is running on top of Rend3 and rend3-egui, on Ubuntu Linux 20.04 LTS. Standalone application, not in a browser.
To Reproduce
Don't have a standalone test case, sorry.
Expected behavior
The TopBottomPanel.bottom() should be expanded to include all the radio buttons.
Screenshots
Desktop (please complete the following information):
Additional context
I may not be doing the layout in the ideal way, but this behavior is so weird it should be reported.
The text was updated successfully, but these errors were encountered: