https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
m

Marcin Wisniowski

11/23/2023, 1:27 AM
What would be a proper way to set a minimum size for a
Window
? I want my window to be resizeable, but squishing it into a tiny square is not useful, so I'd like to set a reasonable minimum. If the minimum size could just be based on minimum measurements of the Compose layout, that would be even greater.
Found it, you can access
window.minimumSize
and set it there on the AWT window.
2 Views