Altering PaneAxis orientation in-place?


#1

I’m messing about with making my first atom package; scratching my own itch regarding ease of pane (re)layout.

I see the hierarchy of PaneAxis objects referencing their Panes, etc. Each PaneAxis has an orientation property with either “horizontal” or “vertical”.

Is there a way to change this value and trigger a relayout? Right now, it seems that changing the property doesn’t affect anything (besides breaking the ability to further split panes in a PaneAxis I’ve thus molested.)

If need be, I guess I could destroy the existing pane structure, create a new new one, and move the relevant tabs over to it, but I’m wondering if there’s a way to avoid that shuffle and mess with the existing layout and trigger a refresh somehow.

Clues? Much appreciated!