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

Windows will now retain their previous size and location if maximized #201

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

andrewauclair
Copy link
Owner

Fixes #198. Windows will now return to their previous size and location if they were persisted maximized. Normally Java AWT/Swing windows don't retain a size and location. This would result requiring the user to manually adjust the size.

This is achieved by storing the previously persisted layout inside of Modern Docking and moving the location and size of each Window to the new layout if a Window is maximized (i.e. has no location and size in the new layout).

@andrewauclair andrewauclair added the enhancement New feature or request label Jan 21, 2024
@andrewauclair andrewauclair changed the title Windows will now retain their previous size and location if they are … Windows will now retain their previous size and location if maximized Jan 21, 2024
@andrewauclair andrewauclair merged commit d05f768 into main Jan 21, 2024
1 check passed
@andrewauclair andrewauclair deleted the persist-non-max-size branch January 21, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: remember window size after fullscreen quit
1 participant