https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
p

Pedro González

05/01/2020, 1:45 PM
Another question, the guide shows some utilities to embed a view into another, like the top<SomeView>() function. Does the framework already have some helper function to more generally use views as nodes? As in, e.g. add several views to vbox or to a gridpane.
Answering myself, one can use the add() function of layout components with the root of a view saved to a variable by inject(). Maybe this is worth including in the guide.
2 Views