set Result Height
Sets the height of the result content for a specific floating pane mode.
This function allows you to define a custom height for the content area when the floating pane is in a particular mode (e.g., docked to the bottom, floating). If height
is null, the default height for that mode will be used.
Parameters
mode
The FloatingPaneMode for which to set the result height.
height
The desired height in pixels, or null to use the default height.