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

Support resizable windows #447

Open
JD557 opened this issue Nov 22, 2023 · 0 comments
Open

Support resizable windows #447

JD557 opened this issue Nov 22, 2023 · 0 comments

Comments

@JD557
Copy link
Owner

JD557 commented Nov 22, 2023

Ideally one should be able to define a max/min width/height in the canvas settings, and that would allow it to be resized.

It would be up to the application to check the width and height at the beginning of every frame to render things correctly.

I think forcing the window to keep the aspect ratio can be out of scope for now. It's more important to ensure that operations like redraw() don't break in the middle of a resize.

Also, I'm not sure how this would work on JS. I think it should be possible, but maybe it's simpler to just focus on JVM and Native and then leave JS to a future version.

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

No branches or pull requests

1 participant