Question
Enabling Double-Click Collapse/Expand Functionality for Docked Script Panels?
When writing a script panel,
it is possible to dock the script panel to the workspace using "palette" parameters.
However, it is not possible to collapse it with a double-click like the built-in panels,
instead, it becomes maximized. How can I write the code,
to achieve the functionality of collapsing
and expanding the attached panel with a double-click, just like the built-in panels?
