Ryan Mitchener
Mitchell Syer
fun main() = application { Window(onCloseRequest = ::exitApplication, title = "AppName") { LaunchedEffect(Unit) { window.minimumSize = // minimum size dimension } } }
Chris Sinco [G]
LaunchedEffect
fun main() = application { val minWindowSize = remember(density) { Dimension((1280 * density).toInt(), (768 * density).toInt()) } Window { if (window.minimumSize != minWindowSize) mainWindow.minimumSize = minWindowSize } }
A modern programming language that makes developers happier.