Demo: TreeNode: add sectiont to increase visibility of tree clipping demo.

This commit is contained in:
ocornut
2026-02-23 22:53:35 +01:00
parent 33dfa7f834
commit 7dec6b6de8

View File

@@ -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");