API reference
Preparing search index…

ImGui.SetWindowSize

  • Set the current window size.

    Parameters

    size

    Window width and height in pixels; 0 on an axis requests automatic fitting.

    cond
    number = 0

    ImGuiCond controlling when the state is applied; 0 means always.

    Returns

    void

    (not recommended) set current window size - call within Begin()/End().

    set to { x: 0, y: 0 } to force an auto-fit.

    prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects.

    Source & inheritance

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