set Fit To Contents
Sets whether the height of the expanded sheet is determined by the height of its contents, or if it is expanded in two stages (half the height of the parent container, full height of parent container). Default value is true.
Parameters
fit To Contents
whether or not to fit the expanded sheet to its contents.