set Result Width
Sets the width for a specific mode of the floating pane.
This method allows customization of the width for different modes (e.g., side, bottom, floating). If the new width is different from the current custom width for that mode, it updates the behavior and, if the current mode is the one being modified, it starts an animation to adjust the bounds to the new width.
Parameters
mode
The FloatingPaneMode for which to set the width.
width
The new width in pixels, or null to reset to the default width for that mode.