How do set the style of the primary stage? ```over...
# tornadofx
m
How do set the style of the primary stage?
Copy code
override fun start(stage: Stage) {
    //stage.initStyle(StageStyle.UTILITY)
    super.start(stage)

    stage.sizeToScene()
}
If I uncomment the
initStyle
line there, the windows does not show up at all. If I set the style after the call to
super.start()
, I get an exception because the stage is already showed at that moment.
It's a matter of style: I can set the style to
StageStyle.UNDECORATED
but not
StageStyle.UTILITY
.