MCPcopy Create free account
hub / github.com/bluescan/tacentview / GetTreeNodeToLabelSpacing

Method GetTreeNodeToLabelSpacing

Contrib/imgui/imgui_widgets.cpp:6206–6210  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

6204
6205// Horizontal distance preceding label when using TreeNode() or Bullet()
6206float ImGui::GetTreeNodeToLabelSpacing()
6207{
6208 ImGuiContext& g = *GImGui;
6209 return g.FontSize + (g.Style.FramePadding.x * 2.0f);
6210}
6211
6212// Set next TreeNode/CollapsingHeader open state.
6213void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected