Join Slack
Powered by
If you're working on the primary stage, there is a...
# tornadofx
e
edvin
08/16/2016, 1:14 PM
If you're working on the primary stage, there is a shortcut to access it:
primaryStage.sizeToScene()
. You do however need to make sure you do this after the new View is replaced, so a good place to do that is in the View itself. Override the
onDock
function and call it there for example.
Open in Slack
Previous
Next