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

Maximize Window even if initial_window_size and initial_window_position are set #1517

Open
DBTaylor opened this issue Apr 20, 2022 · 2 comments
Labels
eframe Relates to epi and eframe egui-winit porblems related to winit feature New feature or request

Comments

@DBTaylor
Copy link

I'd like to set maximized = true on eframe::NativeOptions along with an initial_window_size and initial_window_position with this behavior:

The application starts maximized, but when you restore it, it goes to the initial size and position.

I can't seem to find a way to achieve this behavior.

@DBTaylor DBTaylor added the feature New feature or request label Apr 20, 2022
@emilk
Copy link
Owner

emilk commented Apr 20, 2022

It should be pretty easy to add if you want to give it a go!

@emilk emilk added eframe Relates to epi and eframe egui-winit porblems related to winit labels Apr 20, 2022
@DBTaylor DBTaylor reopened this Apr 21, 2022
@DBTaylor
Copy link
Author

DBTaylor commented Apr 21, 2022

It should be pretty easy to add if you want to give it a go!

I'm not familiar with winit but I'll give this a shot when I get the opportunity. I've really enjoyed using egui btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
eframe Relates to epi and eframe egui-winit porblems related to winit feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants