-
-
Notifications
You must be signed in to change notification settings - Fork 468
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
Make window centered #438
Comments
Oh, there is actually |
The documentation for
We should probably manually calculate the position to make it exact. |
Closing for rust-windowing/winit#38 |
Would be nice to have ability to center window created by glutin. By default or with additional function call. Or at least to have ability to specify window's (x, y) position.
Seems like in OS X implementation windows are centered by default: https://github.com/tomaka/glutin/blob/119bd6393f5f3b8e1510ba6ab3281c8fb387449f/src/api/cocoa/mod.rs#L451
The text was updated successfully, but these errors were encountered: