How to resize window in Windows OS using Jetpack Composable?

Viewed 13

I am trying to resize the window screen, but it seems that the OS is ignoring my request. I am using Windows 10 and Intellij Community Edition.

    application {
        Window(onCloseRequest = ::exitApplication) {
            window.setSize(600,800)
        }
    }

However, I can modify the other properties of the window, such as the location, whether it can be resized, etc. It seems that some agent is overriding or ignoring my resize request. Any idea where the problem could be?

This works:

window.setLocation(0,0)
window.isResizable = false

Thank you :)

0 Answers
Related