Skip to content

ElectronBrowserWindow.setMaximumSize method

ElectronBrowserWindow › setMaximumSize

Unofficial

Sets the maximum size of the window.

Signature:

setMaximumSize(width: number, height: number): void

Parameters:

ParameterTypeDescription
widthnumberThe maximum width.
heightnumberThe maximum height.

Returns: void