A common way to configure the initial window size ...
# tornadofx
e
A common way to configure the initial window size is simply to specify a prefSize for the root of the primary view, so on the next line after borderpane you could add:
setPrefSize(800.0, 600.0)
.