API reference
Preparing search index…

ImGui.SetNextItemWidth

  • Set the width of the next item-and-label widget.

    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

    set width of the next common large "item+label" widget.

    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