Expose the minimum/maximum size of the root window to project settings #7586
Description
opened on Aug 30, 2023
Describe the project you are working on
Not currently, but I was once working on a GUI only project that would appreciate this.
Describe the problem or limitation you are having in your project
Doing get_window().min_size
is not that hard, but it's also not the easiest to find for a new user, and the property makes sense for a project setting.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
The main rationale being that minimum size is a property that is usually set once - needing to change it at runtime is rare.
It is also not that niche - it is useful in GUI heavy projects that support resizing, but making the window too small is undesired (like the project manager), and also in the case of using integer scaling with a stretch mode enabled (see #81176).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Trivial
If this enhancement will not be used often, can it be worked around with a few lines of script?
Yes...
Is there a reason why this should be core and not an add-on in the asset library?
N/A
Activity