You could also look into how this is done in the w...
# tornadofx
e
You could also look into how this is done in the workspace when you dock views in it (or you could even use the workspace, just hide the buttonbar if you don't want it)