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

API: engine
Project: Inno.Editor.ImGui

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

Parameter label: Visible label text.

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

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