How to resize a window? #465
Unanswered
nikitablack
asked this question in
Q&A
Replies: 1 comment
-
Windows in egui shrink/expand to fit the contents. If there is nothing in the window, there will be nothing to show. See the If you want a blank area, you can allocate some dead space with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Somehow I can't figure out how to make an empty resizable window. This code:
creates a window with the resize-handle, but I can't resize it - nor by the handle nor by dragging the window edge. If I add
scroll(true)
then I can resize the window horizontally. But not vertically. Similar behavior can be seen in the web demoWindow Options
- despite the fact the checkboxresizable
is selected the actual resize happens only horizontally. In the demoManual Layout Test
the window is not resizable at all though the property is not set to false explicitly. I'm looking at the source code for this example but can't figure out why it behaves so.Beta Was this translation helpful? Give feedback.
All reactions