I'm trying to build a forms-based editor with two collapsible sections
stacked vertically on the page. I'd like them to split the vertical
space evenly between them, but when one of them is collapsed have the
other grab the extra space. This is simiar to what the plugin.xml editor
does on its Dependencies tab, where the "Required.." section will take
the extra space until the "Automated Management..." section is expanded,
except in that case the "Required..." section is not collapsible; in my
scenario, both sections are collapsible.
I can make this work where SectionA gets "greedy" when SectionB is
collapsed, but not so that SectionB also is greedy when SectionA is
collapsed.
I've thought of using a vertical Sash instead of collapsible sections,
but that would be a lsat resort option - my client would much rather use
collapsible sections.
Any ideas for layouts that would accomplish that?