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

Wpf: prevent window from appearing at the wrong location when Size is set #2355

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

cwensley
Copy link
Member

When setting the size of a window in WPF, it actually appears right before the Loaded event instead of after in all other cases. Since the location of the window is set in the Loaded event it could sometimes make the window appear in the wrong location for a split second. Now we set the location when the source is initialized so it will be placed in the correct location when initially shown.

@cwensley cwensley added the bug label Nov 22, 2022
@cwensley cwensley added this to the 2.7.3 milestone Nov 22, 2022
@cwensley cwensley merged commit 8b5d5d9 into picoe:develop Nov 22, 2022
@cwensley cwensley deleted the curtis/wpf-initial-window-location branch November 22, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant