Set resizeToplevel property.
When this property is true, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.
Builder instance for fluent chaining
Set resizeToplevel property.