Conversation
|
Thank you for helping on this one! |
|
I did a few experiments (that I really should've recorded the outcome of) and |
|
Voting for this issue as I believe it affects one of the controls in my plugin (from an external dependency). On a normal DPI monitor, the font size is roughly 2x size of same on a high DPI monitor. The rest of the standard winforms controls render correctly. Edit: This seems like a good test case for this PR. I will rebase it and test then feedback here. |
|
As above, I tested this again to see if it would fix my particular issue. There's still a bit of work to do here if this is to be merged. I rebased this and tested it (also did another replace on the per form DPI settings as above) and it's a bit of a mess with the layout broken in a few places of the main form (NewForm). Possibly wider as I didn't go beyond in detail. Crucially for me, it did not resolve the issue in the ConEmu control I am using. I guess it has client rendering. So removing my vote from this issue. Sorry for the noise. |
Seems to mostly work, but more of a MVP/POC.
Followed the instructions here: High DPI support in Windows Forms
On my Windows 10 22H2 machine, I can drag a window from my main display at 100% to another at 125% without it becoming blurry.
Also upgrades to .NET 4.8 - targeting .NET 4.7 didn't seem to scale tool strips correctly. This is only needed for the main project, but it would probably make sense for the others too?