diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 42f76b946..f16cad06b 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -4111,6 +4111,16 @@ static void DemoWindowWidgetsTreeNodes() ImGui::TreePop(); } + if (ImGui::TreeNode("Clipping Large Trees")) + { + IMGUI_DEMO_MARKER("Widgets/Tree Nodes/Clipping Large Trees"); + ImGui::TextWrapped( + "- Using ImGuiListClipper with trees is a less easy than on arrays or grids.\n" + "- Refer to 'Demo->Examples->Property Editor' for an example of how to do that.\n" + "- Discuss in #3823"); + ImGui::TreePop(); + } + if (ImGui::TreeNode("Advanced, with Selectable nodes")) { IMGUI_DEMO_MARKER("Widgets/Tree Nodes/Advanced, with Selectable nodes");