I've had some progress on the issue I was having r...
# tornadofx
e
I've had some progress on the issue I was having regarding connection between View and root node. I simply made sure that the root.properties["tornadofx.uicomponent"] property was set when the view is created in the
find
function. This is the same function used to instantiate the View via
inject
. The remaining problem is fragments, since they can be created directly via the constructor. If we add a similar function to
find
, or make
find
also create Fragments, we're home free because I can tag the root node there. This would mean that Fragments should be created using
find(MyFragment::class)
instead of just instantiating them directly. What do you guys think?