-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Web Example: Possible to occupy all available space ? Key Input #358
Comments
The web example does cover all available space in the Browser window, with the same image scaling rules as with native windows. E.g. it will only scale to even integer ratios, leaving a black border as in the screenshot: Resize is already handled: pixels/examples/minimal-web/src/main.rs Lines 88 to 97 in cbda7df
pixels/examples/minimal-web/src/main.rs Lines 130 to 137 in cbda7df
For keyboard focus, I think it can be done with some extra |
Ah, you are right, I forgot that you scale up to even aspect ratios and mistook the black border for unused space. Perfect! Thanks for the info re |
Hi,
not a web expert here..., two questions on the web example:
Thanks as always!
The text was updated successfully, but these errors were encountered: