Defold lock window size project settings

I use it to develop games, but when I modify the window size, the UI will be disrupted. I want to lock the window size. How should I modify the project settings? qwq

DefOS has functions to disable resizing of windows:

defos.disable_maximize_button()
defos.disable_minimize_button()
defos.disable_window_resize()
7 Likes

Perfect solution! Thank you so much! ww

1 Like

Hi! In addition to this, is there anyway I can disable window resizing but retain toggle full screen?

Right now, if I use defos.disable_window_resize(), defos.toggle_fullscreen() does not work as intended anymore. Thanks!

This sounds like a bug! Create a ticket on GitHub

Will do. Thanks!