Window.setMaxSize
Function/Meaning
Setting the maximum window size
Type
Method of the
Window class
Syntax
setMaxSize(
width
,
height
)
Arguments
width
Specifies the maximum width of the window. Specifying 0 removes the limit.
height
Specifies the maximum height of the window. Specifying 0 removes the limit.
Return Value
None (void)
Description
Specifies the maximum size of the window. The window cannot become larger than the size specified by this method.
Reference
Window.setMixSize
Window.setSize
Window.maxWidth
Window.maxHeight