Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Gets the layout size of a compact colored label chip using the centralized editor style.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public System.Numerics.Vector2 InnoEditor.ImGui.ImGuiWidget.GetLabelChipSize(string label)

Parameter label: Visible label text.

The size reserved by M:InnoEditor.ImGui.ImGuiWidget.LabelChip(System.String,System.Numerics.Vector4) for the supplied text.

Exception T:System.ArgumentNullException: Thrown when label is null.