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

Setting native window position #408

Closed
TimUntersberger opened this issue May 17, 2021 · 2 comments · Fixed by #1505
Closed

Setting native window position #408

TimUntersberger opened this issue May 17, 2021 · 2 comments · Fixed by #1505
Labels
feature New feature or request native-glium Relates to running egui_glium on native

Comments

@TimUntersberger
Copy link

Is your feature request related to a problem? Please describe.

I need to be able to set the window position of the window.

Describe the solution you'd like

Adding a window_position field of type Vec2 to the NativeOptions struct should be enough.

@TimUntersberger TimUntersberger added the feature New feature or request label May 17, 2021
@emilk
Copy link
Owner

emilk commented May 17, 2021

Sounds good! PR welcome.

(It should be Pos2 rather than Vec2 though)

@emilk emilk changed the title Setting window position Setting native glium window position May 20, 2021
@emilk emilk added the native-glium Relates to running egui_glium on native label May 20, 2021
@emilk emilk changed the title Setting native glium window position Setting native window position Apr 16, 2022
@emilk
Copy link
Owner

emilk commented Apr 16, 2022

NativeOptions has an initial_window_pos, but I'll keep this issue open for adding a epi::Frame::set_window_pos too (for changing window position at runtime).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request native-glium Relates to running egui_glium on native
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants