Open ChisatoNishikigi73 opened 3 weeks ago
Not sure what your exact goal is, your question is not very clear. If you want your tree nodes to be expanded by default, use ImGui::TreeNodeEx()
with ImGuiTreeNodeFlags_DefaultOpen
.
Not sure what your exact goal is, your question is not very clear. If you want your tree nodes to be expanded by default, use
ImGui::TreeNodeEx()
withImGuiTreeNodeFlags_DefaultOpen
.
Thank you for your response, I think my imgui window gets bigger as the dropdown bar opens, for example if I open the dropdown bar, my imgui window can't show all the information, but I want to stretch the imgui window down at the same time, so that all the information can be displayed all the time
I don't understand your message. Please provide more context and code.
Maybe you simply want to pass ImGuiWindowFlags_AlwaysAutoResize
to your Begin()
call ?
Version/Branch of Dear ImGui:
Version 1.88, Branch: master (master/docking/etc.)
Back-ends:
imgui_impl_dx11.cpp
Compiler, OS:
Win10 + Vss
Full config/build information:
No response
Details:
How do I expand the treenode to fit the menu size to the treenode so that I can see all the options
Minimal, Complete and Verifiable Example code: