setContentBounds

open override fun setContentBounds(bounds: Rectangle, animate: Boolean)(source)

Resizes and moves the window's client area (e.g. the web page) to the supplied bounds.