setSize

open override fun setSize(width: Double, height: Double, animate: Boolean)(source)

Resizes the window to width and height. If width or height are below any set minimum size constraints the window will snap to its minimum size.