Synced
ImGuiWidget.GetLabelChipSize
Section titled “ImGuiWidget.GetLabelChipSize”
- Gets the layout size of a compact colored label chip using the centralized editor style.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public System.Numerics.Vector2 InnoEditor.ImGui.ImGuiWidget.GetLabelChipSize(string label)Parameters
Section titled “Parameters”Parameter label: Visible label text.
Returns
Section titled “Returns”The size reserved by M:InnoEditor.ImGui.ImGuiWidget.LabelChip(System.String,System.Numerics.Vector4) for the supplied text.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when label is null.