-
Notifications
You must be signed in to change notification settings - Fork 920
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
Tracking issue: Sizing(&mut PhysicalSize) event #850
Comments
Might be worth thinking if / how it should fit with the optional suggested size of the |
@Osspial Is this still relevant? |
Any progress / news on this? It's been over a year, and this would be very useful. Right now you can only set a 'resize increment' once and only on specific platforms. |
Since #2411 we now have While that doesn't fully address the original suggestion (having a callback on resize that the user can then respond to), I think it should solve the primary use-case? If not, feel free to reopen. |
@madsmtm Does winit already fill the other use cases for a resize callback, such as aspect ratio constraints? |
I don't think so, but perhaps that use-case (aspect ratio constraints) is more appropriately tracked in #584? |
As discussed in #695 (comment). This will address #584 and allow window resize increments (useful for text editors).
Any PR that implements this should expose the client area's size, not the external window size.
The text was updated successfully, but these errors were encountered: