setMaximumSize

open fun setMaximumSize(width: Double, height: Double)(source)

Sets the maximum size of window to width and height.