Synced
EditorStyleMetrics.SetCompactMode
Section titled “EditorStyleMetrics.SetCompactMode”
- Requests comfortable or compact density without changing an active session frame.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.EditorStyleMetrics.SetCompactMode(bool value)Parameters
Section titled “Parameters”Parameter value: true for compact density.
Returns
Section titled “Returns”true when the requested density changed; owned drawing applies it at the next frame preparation.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: The owning session has retired or is no longer available.
Exception T:System.InvalidOperationException: The caller is not the owning session’s thread.