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

The layout of Controls in HighDpiMode.PerMonitorV2 not as expected #42

Open
Aniobodo opened this issue Feb 19, 2025 · 0 comments
Open

Comments

@Aniobodo
Copy link

Aniobodo commented Feb 19, 2025

Describe the bug
Some controls, with respect to position/size, are not rendered properly when HighDpiMode is set: Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);

This results in some text being overlaid. A particular example is the text "How are you doing today" which is show as "are you doing today".

To Reproduce
Steps to reproduce the behavior:

  1. Unzip and run the attached VS project Entwicklung_VS2022.zip

Expected behavior
The Controls should be properly sized and positioned, so that all text are visible.

Entwicklung_VS2022.zip

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows
  • Version: 11
  • Framework: .NET 9.02

Additional context

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

1 participant