Skip to main content

overwolf.windows.setMinSize

Overwolf APIs / overwolf / overwolf / windows / setMinSize

function setMinSize(
windowId: string,
width: number,
height: number,
callback?: CallbackFunction<Result>,
): void;

Changes the window minimum size to the new width and height, in pixels.

Parameters

ParameterTypeDescription
windowIdstringwindowId The id or name of the window for which to change the minimum size.
widthnumberThe new window minimum width in pixels.
heightnumberThe new window minimum height in pixels.
callback?CallbackFunction<Result>A callback which is called when the minimum size change is completed.

Returns

void