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

Persist window location and size #1

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Persist window location and size #1

merged 1 commit into from
Jun 28, 2017

Conversation

fotijr
Copy link
Contributor

@fotijr fotijr commented Jun 28, 2017

This change allows the window's location, size, and state to persist. Windows settings are save on close and restored when opening again.

Notes:

  • I don't have much experience with WPF, but I tried keeping my edits as minimal as possible. I used a few different approaches described in this SO post.
  • This is my first github pull request, so let me know if anything doesn't look right.

@fotijr
Copy link
Contributor Author

fotijr commented Jun 28, 2017

If you want, I could also add more info to the repo's README file. I could include the info you already have in the VS marketplace, as well as a GIF of the extension in action. But that's your call, just let me know if you want me to add it.

@parnic parnic merged commit 6f7e774 into parnic:master Jun 28, 2017
@parnic
Copy link
Owner

parnic commented Jun 28, 2017

Great, thanks!

If you'd like to update the readme, that's fine with me.

@fotijr fotijr deleted the window-size branch June 28, 2017 12:30
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.

2 participants