|Topic was automatically imported from the old Question2Answer platform.
Using godot 4 with all default project screen setting, except:
Viewport Width: 1280
Viewport Height: 1280
With such settings, engine calculate viewport on game start and fill all the screen. But! If I rotate my android device from portrait to landscape - viewport keep it’s size like is still portrait. How can I fix this behaviour and automatically resize viewport on screen rotation?
This looks like it must be a default behaviour in case you chose orientation = sensor and stretch = disabled. In any other orientation mod with stretch = disabled, viewport fill all screen and looks perfect.