Stack expander contains


I wondering if it is possible to stack expander containers. So for example, if one of them is minimised/maximised, the one below adjusts its position accordingly. So in the image below, you would have two contains, one for Rhino settings and another for the geometry settings.


Absolutely - should be as simple as using multiple expanders. The default behavior of the window is to stack stuff:

Thanks Andrew.

It sort of works but when I adjust the position, the margin is being applied to each expander rather than the grouped expanders. Is there a way to fix this?


Try wrapping the expanders in a stack (a grid w/ 1 row x 1 col would work too), and then setting the margins on the stack.

Thanks Andrew. The stack worked (but the grid didn’t). Thanks for your help!