setWindowMaxSize

fnvoid setWindowMaxSize(int width, int height)

Sets the maximum size of the window.