Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws a vertically auto-sized content region that is constrained to the current available width and cannot create an independent scroll range.

API: engine
Project: Inno.Editor.ImGui

public void Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.ConstrainedContent(string id, System.Action drawContent, bool useWindowPadding = true)

Parameter id: Stable identifier used by ImGui to track the content region.

Parameter drawContent: Callback that draws the complete region contents.

Parameter useWindowPadding: Whether the region should apply the centralized standard window padding exactly once.

Exception T:System.ArgumentException: Thrown when id is empty.

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