setResizeToplevel

open fun setResizeToplevel(resizeToplevel: Boolean)

Sets whether the expander will resize the toplevel widget containing the expander upon resizing and collpasing.

Parameters

resizeToplevel

whether to resize the toplevel