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

Update layout save/restore to support zoom & focus #143

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andrew-Collins
Copy link

Hi,

This PR is to support restoring layouts with with zoom and focus.
Related issues:

A new struct WindowLayoutStorage has been created to store: the windows layout, which window is in focus, and if the focused window is zoomed.

TabLayoutDescription has been updated to hold this struct in place of WindowLayoutStorage as well as store the currently selected tab.

I am not set on the name WindowLayoutStorage; would you be open to naming it TabLayoutDescription, and rename TablayoutDescription to AppLayoutDescription or something similar?

This seems more logical to me as currently TabLayoutDescription does not hold the layout of a tab, but rather the layout of the top level application.

Keen to hear your thoughts. :)

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.

None yet

1 participant