5

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

Porush Manjhi
  • 135
  • 12

1 Answers1

4

To remove it you can use undecorated argument for Window:

fun main() = application {
    Window(
        onCloseRequest = ::exitApplication,
        undecorated = true,
    ) {
        App()
    }
}
Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220