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

Fluent API for opening windows maximized/minimized #349

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

simonhamp
Copy link
Member

This PR removes the need for calling the maximize and minimize methods separately after you've created the Window.

Before

Window::open('my-window')...;

Window::maximize('my-window');
Window::minimize('my-window');

After

Window::open('my-window')->maximized();

Window::open('my-window')->minimized();

@simonhamp simonhamp merged commit 5446156 into main Aug 24, 2024
2 of 23 checks passed
@simonhamp simonhamp deleted the feature/minimized-maximized branch August 24, 2024 10:21
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.

1 participant