
Enhances window customization by transforming title bars into insets for drawing behind, easily replacing existing windows while offering additional features through an example application.
A better Compose Window, that converts the title bar into insets and allowing you to draw behind it.
BetterWindow also supports ComposeWindowStyler (Be sure to use the snapshot version)
A lot of the code is directly taken from Animeko I have just modified it to make it usable for other projects. Feel free to check out their project, it's really cool!
Add the dependency to your build.gradle.kts file
dependencies {
implementation("dev.brahmkshatriya:betterwindow:1.1.0")
}You can directly replace your Window with BetterWindow and it should work out of the box.
But if you want to use some of the other features, check out the Sample App
A better Compose Window, that converts the title bar into insets and allowing you to draw behind it.
BetterWindow also supports ComposeWindowStyler (Be sure to use the snapshot version)
A lot of the code is directly taken from Animeko I have just modified it to make it usable for other projects. Feel free to check out their project, it's really cool!
Add the dependency to your build.gradle.kts file
dependencies {
implementation("dev.brahmkshatriya:betterwindow:1.1.0")
}You can directly replace your Window with BetterWindow and it should work out of the box.
But if you want to use some of the other features, check out the Sample App