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 Suggestion: Set window size to be different from stage size on launch #892

Open
gomiigg opened this issue Aug 28, 2024 · 2 comments

Comments

@gomiigg
Copy link

gomiigg commented Aug 28, 2024

The stage size feature in the packager only sets the size of the stage, but not the size of the packaged window.
Let's say I have a 640x360 (widescreen) project that I want packaged. The stage size is too small to also functionally serve as the window size, so I type 1280x720 (twice as large). However, this only sets the stage size to be 1280x720 and the window still stays at the small default size.

I'm thinking a workaround with Window Controls is possible, but will only resize the window AFTER loading and launching the project.
Could this be solved using Custom CSS?

image

@TheShovel
Copy link

this can be done with this extension
https://extensions.turbowarp.org/CubesterYT/WindowControls.js

@gomiigg
Copy link
Author

gomiigg commented Aug 28, 2024

this can be done with this extension

https://extensions.turbowarp.org/CubesterYT/WindowControls.js

Yes, but as stated in my
Issue the Window Controls extension can only be run once the project starts. I might be nitpicking, but it would look weird if the window was in one resolution when loading and then popped to another once loaded. I want the window to be set to a resolution once created (before the loading screen)

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

2 participants