Synced
ImGuiWidget.CenteredButton
Section titled “ImGuiWidget.CenteredButton”
- Draws a horizontally centered button with optional space above it.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.CenteredButton(string label, float topPadding = 0)Parameters
Section titled “Parameters”Parameter label: Visible label and optional ImGui identifier suffix.
Parameter topPadding: Additional vertical space above the button.
Returns
Section titled “Returns”true when the button is pressed.