API reference
Preparing search index…

ImGui.ImGuiComboFlags

Const
ImGuiComboFlags: Readonly<
    {
        HeightLarge: 8;
        HeightLargest: 16;
        HeightMask_: 30;
        HeightRegular: 4;
        HeightSmall: 2;
        NoArrowButton: 32;
        None: 0;
        NoPreview: 64;
        PopupAlignLeft: 1;
        WidthFitPreview: 128;
    },
> = ...

Combo-box preview and popup sizing options; choose one height policy.

Type declaration

  • ReadonlyHeightLarge: 8

    Limit the popup to about twenty visible items.

  • ReadonlyHeightLargest: 16

    Show as many popup items as available space allows.

  • ReadonlyHeightMask_: 30

    Internal mask of the mutually exclusive height policies.

  • ReadonlyHeightRegular: 4

    Limit the popup to about eight visible items (default).

  • ReadonlyHeightSmall: 2

    Limit the popup to about four visible items.

  • ReadonlyNoArrowButton: 32

    Show the preview without the square arrow button.

  • ReadonlyNone: 0

    Use default combo appearance and popup height.

  • ReadonlyNoPreview: 64

    Show only the square arrow button, without a preview.

  • ReadonlyPopupAlignLeft: 1

    Prefer left alignment for the popup.

  • ReadonlyWidthFitPreview: 128

    Calculate the combo width from its preview content.

Source & inheritance

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