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
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
To remove it you can use undecorated
argument for Window
:
fun main() = application {
Window(
onCloseRequest = ::exitApplication,
undecorated = true,
) {
App()
}
}
© 2022 - 2024 — McMap. All rights reserved.
TopBar
with default one. now i can not move the window any more – Esme