Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting a window stretch scale below 1.0 in the project settings #63519

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Jul 27, 2022

I encountered a situation where I wanted to set the scale to 50% (0.5), and I found it odd that Godot prevents you from going below 100% (1.0). It seems to work fine even at very small scales. This PR lowers the minimum to 50% (0.5).

@aaronfranke aaronfranke added this to the 4.0 milestone Jul 27, 2022
@aaronfranke aaronfranke requested a review from Calinou July 27, 2022 01:43
@aaronfranke aaronfranke requested a review from a team as a code owner July 27, 2022 01:43
@Calinou
Copy link
Member

Calinou commented Jul 27, 2022

This PR lowers the minimum to 20% (0.2).

This may result in completely unreadable UI, so I'd clamp the lower bound to 0.5 like I did in #63206.

@aaronfranke
Copy link
Member Author

@Calinou I updated it to be 0.5.

@akien-mga akien-mga merged commit 20fefe3 into godotengine:master Jul 27, 2022
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the window-stretch branch July 27, 2022 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants