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

CP: Save/Load view extension size and location #11315

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

mmisol
Copy link
Collaborator

@mmisol mmisol commented Dec 3, 2020

Information of where an extension control was last shown is saved and
retrieved as preference settings. These are actually not directly
visible for the user and are updating automatically, just like the main
Dynamo window size. These settings are used when showing the extension
control, to restore it to how it used to be before closing it.

The available information for each view extension is:

  1. How it is shown. For now this can be either as a floating window or
    docked to the right-side panel.

  2. In case it is shown as a floating window, the following information
    about the window is saved:

  • Location by Top/Left coordinates
  • Size by Width/Height
  • Whether the window is maximized

Information of where an extension control was last shown is saved and
retrieved as preference settings. These are actually not directly
visible for the user and are updating automatically, just like the main
Dynamo window size. These settings are used when showing the extension
control, to restore it to how it used to be before closing it.

The available information for each view extension is:

1. How it is shown. For now this can be either as a floating window or
docked to the right-side panel.

2. In case it is shown as a floating window, the following information
about the window is saved:
- Location by Top/Left coordinates
- Size by Width/Height
- Whether the window is maximized
@mmisol mmisol merged commit b89fa5f into DynamoDS:RC2.10.0_master Dec 3, 2020
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