Skip to content

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

Merged
mmisol merged 1 commit intoDynamoDS:RC2.10.0_masterfrom
mmisol:cp_save_extension_location
Dec 3, 2020
Merged

CP: Save/Load view extension size and location#11315
mmisol merged 1 commit intoDynamoDS:RC2.10.0_masterfrom
mmisol:cp_save_extension_location

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