-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Add Min/Max Window Size Setting #31367
Add Min/Max Window Size Setting #31367
Conversation
I don't have a strong opinion for the existing Test Width/Height, but for the min/max window size they don't have to be coupled, you can set only a min or only a max depending on your game's needs. |
It would make sense if you could limit only the width or height, so I'd say it should work even if one of the dimensions is equal to 0. This is especially true if no error message is printed when invalid settings are supplied 🙂 |
6ddbf57
to
91817e4
Compare
Makes sense to change it indeed. I don't see a use case for not applying either test width or height if one is not supplied. |
Add project settings to easily set the minimum and maximum window size.
91817e4
to
a7bf643
Compare
Thanks!
Note that this isn't done in this PR, so it would have to be changed in a new PR. |
It crashes on X11 when you start a project:
|
After reverting this PR, calling |
Reverted by #31435 for now until a better approach can be implemented. |
It should be called in |
This should be quite easy to implement with just a few extra checks. |
Add project settings to easily set the minimum and maximum window size.
Imitates Test Width/Height Setting, meaning you need to set both the width and the height, otherwise it does nothing. Is that intended behavior?
Closes: #31303