API reference
Preparing search index…

ImGui.PushItemWidth

  • Push the width used by subsequent item-and-label widgets.

    Parameters

    item_width
    number

    Width in pixels for framed items; 0 uses the default, negative values align to the right edge (use -FLT_MIN for right alignment).

    Returns

    void

    push width of items for common large "item+label" widgets.

    0.0: width in pixels, <0.0 align xx pixels to the right of window (so -FLT_MIN always align width to the right side).

    Source & inheritance

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