Skip to content

Set content_scale_size when setting the resolution #452

Description

@beck-tom

I will admit that I am a bit too new to Godot to be confident that this is the appropriate approach for an issue I have.
The view port was not getting resized along with the window when switching resolutions.

Adding window.content_scale_size = value here gave me the expected results:
https://github.com/Maaack/Godot-Menus-Template/blob/main/addons/maaacks_menus_template/base/scripts/app_settings.gd#L132

Would there be any consequences is adding this in the next update?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions