mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-27 22:05:08 +00:00
Demo: TreeNode: add sectiont to increase visibility of tree clipping demo.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user