Hi folks. How do I set minimum window size for a r...
# compose-desktop
h
Hi folks. How do I set minimum window size for a resizable window?
Copy code
fun main() = application {
    Window(
        onCloseRequest = ::exitApplication,
        title = "Compose for Desktop",
        state = rememberWindowState(width = 600.dp, height = 600.dp)
    )
I want it to be able to expand but I don't want it to be to small.
a
You can use technique similar to the described here: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1638659624192600
👀 1
h
Thanks I'll try it out later..