How can I remove windows title bar or customize it in compose desktop?

Viewed 486

I want to remove windows default title bar so I can create my own that matches my application. I searched around but couldn't find anything.

Thanks

1 Answers

To remove it you can use undecorated argument for Window:

fun main() = application {
    Window(
        onCloseRequest = ::exitApplication,
        undecorated = true,
    ) {
        App()
    }
}
Related