Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a horizontally centered button with optional space above it.

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

public bool InnoEditor.ImGui.ImGuiWidget.CenteredButton(string label, float topPadding = 0)

Parameter label: Visible label and optional ImGui identifier suffix.

Parameter topPadding: Additional vertical space above the button.

true when the button is pressed.