setResizeToplevel

open fun setResizeToplevel(resizeToplevel: Boolean)

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

Parameters

resizeToplevel

whether to resize the toplevel