What is the correct way of adding views to a vbox-...
# tornadofx
a
What is the correct way of adding views to a vbox-view? I have this code, that works, but it doesn't feel like it's the best way to do it? import tornadofx.*
g
instead of "children +=find(SubViewC::class).root" just "add(SubViewC::class)"
sorry my backtick key isn't working or I would have shown it inline 🙂
sorry just saw that someone else answered on the main thread