Open sodamouse opened 4 weeks ago
Since I am using DockSpaceOverViewport
, I found that setting the flags there would have them be inherited by the child nodes. While this solves my immediate problem, I think more granular control over child node flags would be useful in many situations.
Version/Branch of Dear ImGui:
Version 1.91.4, Branch: docking
Back-ends:
imgui_impl_opengl3.cpp + imgui_impl_glfw.cpp
Compiler, OS:
Windows 11 + MSVS 2022
Full config/build information:
No response
Details:
My Issue/Question:
Hello, I am wondering how I can set flags on nodes created via
DockBuilderSplitNode
. I added node flags to the parent node, but the child doesn't seem to inherit the flags. Also I tried using AddNode on ImGuiIDs belonging to (future) child nodes created by the split function, but this doesn't help me either, so I guess the Split function sets the ID values to something else.Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code: