-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Undocking an entire docked window #2645
Comments
You can do that by dragging from the little Dock Menu on the left side. We should make it possible from the remaining part of the title bar, as your video suggest, this is still in my todo list. |
The problem I have with this is that dear imgui allow you to have floating dockspaces, and we need a way to be able to move those. So if you have this: And clicking from the title bar of either would undock it, how do you move the whole group? There's currently a little known feature where holding SHIFT while dragging a window disable the docking markers, which makes it possible to move a window anywhere without docking interference. I could make it that the same SHIFT modifier would prevent undocking, which would allow moving the group of windows pictured above. We would however still have a discoverability problem with this feature.. (EDIT) This would also be odd when using |
Another idea is that I could invert the role and make dragging from the Collapse/WindowMenu button always move the window and that would work for an entire group, whereas dragging from the tab/title bar space would undock. |
Pushed a change for that. I currently made it that:
|
Version/Branch of Dear ImGui:
Version: 1.71
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw3_opengl3,cpp
Compiler: clang
Operating System: arch linux
My Issue/Question:
Is there an option to drag an entire window full of docked windows aligned in a tab area? It seemed natural to me to reorder some docked windows around.
Screenshots/Video
https://youtu.be/w3rNxujfxB0
The text was updated successfully, but these errors were encountered: