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
Can't hide "Hide tab bar" button when window is in dock #7527
Comments
There are no collapse buttons in docked windows, not even if you don't disable them. This is a different button that looks different and serves a different function. It belongs to the dock node itself, not to the docked window(s). That's also why there is only one if you dock multiple windows into the same node. |
Thank you for your answer.
|
I never tried this specific one myself, but there should be multiple ways. First you need to include For the entire dock space:
Building the dock nodes manually:
Manipulating the flags of an existing node:
By way of the window(s) docked into the node:
|
This is the best and simplest way. As always the recurrent problem with docking questions is that people want to manipulate a dock node property which is shared by multiple windows, by definition there is a potential conflict, what is 2 windows which have opposite requests are docked together? |
I think I understood it. |
Sorry I didn't meant to suggest i was upset, but because we answer lots of question I'm not always overly enthusiastic. Your question is not ridiculous. But there isn't a simple solution that works for all situations, and I guess it is frustrating that we don't have a good answer for it yet. |
No problem. I understand that it is difficult for you to answer all the questions and there is no room for despair. I think IMGUI is the best API for UI and I'm eager to learn it and this little problem can't stop me. |
Version/Branch of Dear ImGui:
Version 1.90.5 (19050) Branch docking
Back-ends:
imgui_impl_opengl3.cpp + imgui_impl_glfw.cpp
Compiler, OS:
Windows 10
Full config/build information:
Details:
My Issue/Question:
greetings.
I don't need the collapse button and "Hide tab bar" button for some windows when they are in dock mode,. In dock mode, I cant destroy "Hide tab bar" button.
Out Of Docking :
In Dock:
This is my code :
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: