MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / GetTreeNodeToLabelSpacing

Method GetTreeNodeToLabelSpacing

include/imgui/imgui_widgets.cpp:7238–7242  ·  view source on GitHub ↗

Horizontal distance preceding label when using TreeNode() or Bullet()

Source from the content-addressed store, hash-verified

7236
7237// Horizontal distance preceding label when using TreeNode() or Bullet()
7238float ImGui::GetTreeNodeToLabelSpacing()
7239{
7240 ImGuiContext& g = *GImGui;
7241 return g.FontSize + (g.Style.FramePadding.x * 2.0f);
7242}
7243
7244// Set next TreeNode/CollapsingHeader open state.
7245void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected