We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sizeLimits
singleWindowApplication
1 parent 8bf38f1 commit 92a59f1Copy full SHA for 92a59f1
1 file changed
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/window/v2/Window.desktop.kt
@@ -191,6 +191,7 @@ fun singleWindowApplication(
191
enabled: Boolean = true,
192
focusable: Boolean = true,
193
alwaysOnTop: Boolean = false,
194
+ sizeLimits: WindowSizeLimits = WindowSizeLimits.Unlimited,
195
onPreviewKeyEvent: (KeyEvent) -> Boolean = { false },
196
onKeyEvent: (KeyEvent) -> Boolean = { false },
197
exitProcessOnExit: Boolean = true,
@@ -208,6 +209,7 @@ fun singleWindowApplication(
208
209
enabled = enabled,
210
focusable = focusable,
211
alwaysOnTop = alwaysOnTop,
212
+ sizeLimits = sizeLimits,
213
onPreviewKeyEvent = onPreviewKeyEvent,
214
onKeyEvent = onKeyEvent,
215
content = {
0 commit comments