MCPcopy Create free account
hub / github.com/degeneratehyperbola/NEPS / GetTreeNodeToLabelSpacing

Method GetTreeNodeToLabelSpacing

shared_lib/imgui/imgui_widgets.cpp:5927–5931  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5925
5926// Horizontal distance preceding label when using TreeNode() or Bullet()
5927float ImGui::GetTreeNodeToLabelSpacing()
5928{
5929 ImGuiContext& g = *GImGui;
5930 return g.FontSize + (g.Style.FramePadding.x * 2.0f);
5931}
5932
5933// Set next TreeNode/CollapsingHeader open state.
5934void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected