Join Slack
Powered by
What is the correct way of adding views to a vbox-...
# tornadofx
a
Anders
10/23/2018, 6:31 AM
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.*
-.kt
g
gtnarg
10/23/2018, 11:05 AM
instead of "children +=find(SubViewC::class).root" just "add(SubViewC::class)"
gtnarg
10/23/2018, 11:05 AM
sorry my backtick key isn't working or I would have shown it inline 🙂
gtnarg
10/23/2018, 11:06 AM
sorry just saw that someone else answered on the main thread
5
Views
Open in Slack
Previous
Next