Pass in a parameter or set something in the scope ...
# tornadofx
e
Pass in a parameter or set something in the scope and deal with the layout based on that perhaps?