You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to have a custom border color on my windows when they're active, where the alpha of the border pulsates/pingpongs. It works fine when the windows are separate, but when they're docked the ImGuiCol_Border seems to be completely ignored. I can change the split color but it only changes the color of the line between the windows split, not everything around the window. The other approach is for me to just manually draw a rect (via the drawlist) around my window when it gains focus, but I was trying to stick to what imgui has already built in instead of drawing my shapes over it.
I expect the border coloring would still take affect, docked or not.
Standalone, minimal, complete and verifiable example:(see #2261)
ImGui::ShowDemoWindow(); // simply spawn any 2 windows, open up the style editor via Tools/Style Editor, change the color of the Border, observe how it changes the border of the 2 windows, now dock the windows into each other, notice how the border coloring is ignored.
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
Version: 1.79 WIP (17803)
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_win32.cpp + imgui_impl_dx11.cpp
Compiler: MSVC
Operating System: Win10
My Issue/Question:
I'm trying to have a custom border color on my windows when they're active, where the alpha of the border pulsates/pingpongs. It works fine when the windows are separate, but when they're docked the ImGuiCol_Border seems to be completely ignored. I can change the split color but it only changes the color of the line between the windows split, not everything around the window. The other approach is for me to just manually draw a rect (via the drawlist) around my window when it gains focus, but I was trying to stick to what imgui has already built in instead of drawing my shapes over it.
I expect the border coloring would still take affect, docked or not.
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: