API reference
Preparing search index…

ImGui.ImGuiChildFlags

Const
ImGuiChildFlags: Readonly<
    {
        AlwaysAutoResize: 64;
        AlwaysUseWindowPadding: 2;
        AutoResizeX: 16;
        AutoResizeY: 32;
        Border: 1;
        Borders: 1;
        FrameStyle: 128;
        NavFlattened: 256;
        None: 0;
        ResizeX: 4;
        ResizeY: 8;
    },
> = ...

Child-window sizing, padding and navigation options for BeginChild().

Type declaration

  • ReadonlyAlwaysAutoResize: 64

    With AutoResizeX/Y, measure even when hidden. Disables coarse clipping: BeginChild() always returns true.

  • ReadonlyAlwaysUseWindowPadding: 2

    Apply WindowPadding even without a border.

  • ReadonlyAutoResizeX: 16

    Fit width to content when visible or appearing.

  • ReadonlyAutoResizeY: 32

    Fit height to content when visible or appearing.

  • ReadonlyBorder: 1

    Legacy alias of Borders: outer border plus window padding.

  • ReadonlyBorders: 1

    Draw an outer border and enable window padding.

  • ReadonlyFrameStyle: 128

    Use framed-widget colors, rounding, border and padding.

  • ReadonlyNavFlattened: 256

    Share navigation focus with the parent and sibling children.

  • ReadonlyNone: 0

    Use default child-window behavior.

  • ReadonlyResizeX: 4

    Resize from the right edge; save size unless NoSavedSettings is set.

  • ReadonlyResizeY: 8

    Resize from the bottom edge; save size unless NoSavedSettings is set.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0