-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
A question about CollapsingHeader #5787
Copy link
Copy link
Closed
Labels
label/id and id stackimplicit identifiers, pushid(), id stackimplicit identifiers, pushid(), id stack
Description
I was wondering if it's possible to have two different collapsing headers with the same id on the two different places in the code and make them appear as one collapsing header.
if (ImGui::CollapsingHeader("name1"))
{
ImGui::Text("1");
}
// Some other code
if (ImGui::CollapsingHeader("name1"))
{
ImGui::Text("2");
}
Version: v1,88
Branch: master
glfw/opengl3/Win10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
label/id and id stackimplicit identifiers, pushid(), id stackimplicit identifiers, pushid(), id stack

