Since all the children are managed, the stack pane...
# tornadofx
e
Since all the children are managed, the stack pane correctly calculates the required size. I tried several much more elaborate schemes before I ended on this pretty simplistic solution 🙂