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

Popup Grid height wrong when maximize windows #5

Open
Pathompongmc opened this issue Feb 16, 2024 · 5 comments
Open

Popup Grid height wrong when maximize windows #5

Pathompongmc opened this issue Feb 16, 2024 · 5 comments

Comments

@Pathompongmc
Copy link

When you drag resize the popup grid size is fine.
But maximize windows popup grid wrong height.

@chris84948
Copy link
Owner

Do you have an example? What do you mean by wrong height?

@Pathompongmc
Copy link
Author

104212

@Pathompongmc
Copy link
Author

Pathompongmc commented Feb 19, 2024

Blue Grid Should be full height when maximize

Screenshot 2024-02-19 104249

@Pathompongmc
Copy link
Author

Pathompongmc commented Feb 19, 2024

in code
Screenshot 2024-02-19 104553

@chris84948
Copy link
Owner

I think you might have hit a limitation on this hacky workaround here.

Because of the way the WindowsFormHost works, it can't be rendered using WPF rendering techniques, so to grab the screenshot I'm basically taking a screen-capture knowing the position of the content.

If you resize the window I can't take a new screenshot as it's already hidden. To take a new screenshot would require you to turn off the fix airspace feature, take a screenshot again and then hide it, and that would be seen by the user.

I can't really think of another way to fix this, but I'm open to ideas.

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

No branches or pull requests

2 participants