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
Surely this explicitly states "fixed_size". I cannot think of a more clear and explicit way of stating something, but it doesn't create a fixed_size window. What am I missing?
egui docs state that fixed_size "Sets the window size and prevents it from being resized by dragging its edges."
But it doesn't do this. Is it a bug?
Ditto for this code. It also does not do what it explicitly says it should:
In fact, it's even worse than suggested. By defining the fixed_size to 200.0 x 200.0 then over filling it with text, the window seems to clamp to 200 wide but the height just expands to fit all the text. e.g. it expands well beyond the "fixed_size" and on right outside of the viewport.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This seems so basic that I should not need to ask it. Nevertheless...
Why does this code not set the window to the defined fixed_size?
Surely this explicitly states "fixed_size". I cannot think of a more clear and explicit way of stating something, but it doesn't create a fixed_size window. What am I missing?
egui docs state that fixed_size "Sets the window size and prevents it from being resized by dragging its edges."
But it doesn't do this. Is it a bug?
Ditto for this code. It also does not do what it explicitly says it should:
In fact, it's even worse than suggested. By defining the fixed_size to 200.0 x 200.0 then over filling it with text, the window seems to clamp to 200 wide but the height just expands to fit all the text. e.g. it expands well beyond the "fixed_size" and on right outside of the viewport.
Beta Was this translation helpful? Give feedback.
All reactions