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

eframe: Add center to NativeOptions and monitor_size to WindowInfo #2035

Merged
merged 9 commits into from
Sep 17, 2022

Conversation

ar37-rs
Copy link
Contributor

@ar37-rs ar37-rs commented Sep 10, 2022

  • Make window always on top and center positioning to be configured both at runtime and initialization.
  • Centering the window position at initialization it will fix the window being shown at different positions twice as if centering the window at runtime (which is doesn't seem right).

crates/eframe/src/epi.rs Outdated Show resolved Hide resolved
crates/eframe/src/native/run.rs Show resolved Hide resolved
crates/eframe/CHANGELOG.md Outdated Show resolved Hide resolved
@emilk emilk changed the title Add a few helpful variable and options for desktop. eframe: Add center to NativeOptions and monitor_size to WindowInfo Sep 17, 2022
@emilk emilk merged commit bc6a823 into emilk:master Sep 17, 2022
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

Successfully merging this pull request may close these issues.

2 participants