Synced
ImGuiChildFlags
Section titled “ImGuiChildFlags”
- Defines the supported child flags choices at the Editor presentation boundary.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.Enum
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public enum Inno.Editor.ImGui.ImGuiChildFlags : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ImGuiChildFlags.AlwaysAutoResize | Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return true, always disable clipping optimization! NOT RECOMMENDED. |
| Fields | ImGuiChildFlags.AlwaysUseWindowPadding | Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child windows because it makes more sense) |
| Fields | ImGuiChildFlags.AutoResizeX | Enable auto-resizing width. Read “IMPORTANT: Size measurement” details above. |
| Fields | ImGuiChildFlags.AutoResizeY | Enable auto-resizing height. Read “IMPORTANT: Size measurement” details above. |
| Fields | ImGuiChildFlags.Borders | Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy reason) |
| Fields | ImGuiChildFlags.FrameStyle | Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding. |
| Fields | ImGuiChildFlags.NavFlattened | Share focus scope, allow keyboard/gamepad navigation to cross over parent border to this child or between sibling child windows. |
| Fields | ImGuiChildFlags.None | Uses the ordinary behavior without additional options. |
| Fields | ImGuiChildFlags.ResizeX | Allow resize from right border (layout direction). Enable .ini saving (unless ImGuiWindowFlags_NoSavedSettings passed to window flags) |
| Fields | ImGuiChildFlags.ResizeY | Allow resize from bottom border (layout direction). ” |