Setting the background color of an empty docking space #7859
arturodrt
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m trying to change the background color of an empty docking space in ImGui, but I’m having trouble getting it to work. I attempted to use the following code to set the background color to white:
style.Colors[ImGuiCol_DockingEmptyBg] = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
However, it doesn’t seem to have any effect.
Can anyone provide guidance on how to properly change the color of an empty docking space, or clarify if there are additional steps required?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions