From 7dec6b6de8d55eba0bc21337740d1d94343847d8 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 23 Feb 2026 22:53:35 +0100 Subject: [PATCH] Demo: TreeNode: add sectiont to increase visibility of tree clipping demo. --- imgui_demo.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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");