API reference
Preparing search index…

ImGui.GetTreeNodeToLabelSpacing

  • Get the horizontal spacing from a tree node to its label.

    Returns

    number

    Horizontal pixel distance from a tree node start to its label, including the arrow area and spacing.

    Horizontal distance before the label when using tree nodes or Bullet(). For a regular unframed tree node, this is GetFontSize() + style.FramePaddingX * 2, where style is the mapped view from ImGui.viewImGuiStyle(styleHandle).

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0