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

Method GetTreeNodeToLabelSpacing

include/imgui/imgui_widgets.cpp:7268–7272  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

7266
7267// Horizontal distance preceding label when using TreeNode() or Bullet()
7268float ImGui::GetTreeNodeToLabelSpacing()
7269{
7270 ImGuiContext& g = *GImGui;
7271 return g.FontSize + (g.Style.FramePadding.x * 2.0f);
7272}
7273
7274// Set next TreeNode/CollapsingHeader open state.
7275void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected