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
How to programmatically dock windows? #729
Comments
I need this too, I think the |
I had the same question, so I did some searching. Before So I extracted that code and tried making the File
File
This works and looks like the screenshot below, but I still don't know how to modify this example so that the docking area fills the entire window. |
There's a slightly updated version of that code in It would probably be worth adding that to the |
It would be neat to have this in the lib under the |
Hello. I am using
imgui_rs
version 0.11.0 with thedocking
feature enabled. But the only safe dock-space-related function isdockspace_over_main_viewport
indock_space.rs
module. If I call it I can indeed manually dock my windows, but how to do it programmatically? I.e. I want my application starts in some default layout with the bottom, left and central panel. How to achieve that?The text was updated successfully, but these errors were encountered: