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

[Feature] Window minimum size #21199

Closed
andrea-calligaris opened this issue Aug 19, 2018 · 5 comments
Closed

[Feature] Window minimum size #21199

andrea-calligaris opened this issue Aug 19, 2018 · 5 comments

Comments

@andrea-calligaris
Copy link
Contributor

There should be an option in the project settings to set the minimum window size.
Not there in v3.0.5-stable

If anyone needs it, I coded this workaround. It works, but only when the user finishes resizing (releases the mouse).
In your _on_screen_resize method:

if window_size.x < MinX || window_size.y < MinY:
	yield(get_tree(), "idle_frame")
	OS.window_size = Vector2(MinX, MinY)
@YeldhamDev
Copy link
Member

Related to #14806.

@andrea-calligaris
Copy link
Contributor Author

I should improve my searching skills in GitHub. How do I perform a search inside the issue title?

@YeldhamDev
Copy link
Member

@char0xff There's a search bar inside the "Issues" tab, if that's what you're talking about:
screenshot at 2018-08-19 20-15-21

@andrea-calligaris
Copy link
Contributor Author

No I meant the filter, but I've found it, it's:
in:title

@Chaosus
Copy link
Member

Chaosus commented Mar 4, 2019

Ah.. its a duplicate.. Closed as duplicate of #14806

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

No branches or pull requests

3 participants