-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Child resizing separator overlaying child contents #8034
Comments
This is essentially a byproduct of #7887 #7888 : border size don't affect layout and so a thick border (as the child window resizing border is) would overlap content. In addition to that, windowing decorations are rendered first. I acknowledge this is an issue but it seems very minor and due to the complexity of the changes required it's unlikely to be a priority and it's unlikely to be fixed soon. |
ok, I haven't read the internal code in depth, so I think using the foreground draw list to draw the border should solve the problem, but I don't know if there will be any side effects? But it's actually harmless, there are still many ways to solve this small problem at the user level. |
Well that's pretty wrong, as it means e.g. hovering a border of a partially covered window would display the border over all other windows. |
I suppose that drawing specific window decorations at the end of the frame would also fit #2856. |
Version/Branch of Dear ImGui:
Version 1.91.2, Branch: docking
Back-ends:
imgui_impl_Win32.cpp + imgui_impl_DX11.cpp
Compiler, OS:
win11+vs2022
Full config/build information:
Details:
My Issue/Question:
BeginChild When ImGuiChildFlags_ResizeX is enabled, should the separator line be overlaid on the project element foreground?
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: