I also have some code that doesn't work from onDoc...
# tornadofx
m
I also have some code that doesn't work from onDock(), but it does work if I wrap it in
runAsync {} ui { //code }
, it's obviously not the correct way though. It probably needs to wait for something to initialize and the runAsync/ui does that, but what would be the proper way to defer execution to when the View (?) is ready?