<@U25U0KPFT> thanks :slightly_smiling_face: I did ...
# tornadofx
a
@carlw thanks 🙂 I did not know about these methods. But it does not quite fulfill my requirement. I am using undecorated, transparent stage with transparent scene fill. These customization I can't make using either openModal/Window. Here is my current code which I am using to open a new window
Copy code
fun createWindow(view: WindowView): Stage {
    val scene = Scene(view.root)
    scene.fill = Color.TRANSPARENT

    val stage = Stage()
    stage.initStyle(StageStyle.TRANSPARENT)
    stage.hookGlobalShortcuts()

    stage.scene = scene
    ResizeHelper.addResizeListener(stage)
    FX.applyStylesheetsTo(scene)
    return stage
}

val stage = createWindow(MyView())
stage.initOwner(primaryStage)
stage.show()
ResizeHelper is a utility class for resizing undecorated stage.