setMaxSize

Sets the window maximum inner size. If the size argument is undefined, the constraint is unset.

Parameters

size

The logical or physical inner size, or null to unset the constraint.