setSizeConstraints
Sets the window inner size constraints.
Parameters
constraints
The inner size constraints in logical pixels, or null to unset every constraint. Each field is optional and independent, so { minWidth: 300 } constrains only the width.