Visual Studio (2022) and display scaling with winforms

751 Views Asked by At

Since I have to work in a winforms project again, I do have problems with the VS designer now. I have a Thinkpad P1 with FullHD (16" WUXGA = 1920 x 1200) and a 125 % scaling because the 100 % scaling is too small for my old eyes on the laptop screen. The scaling now leeds to unpredictable VS (winforms) designer views, usually I cannot trust what I see. So, no WYSIWYG at all. ;) Does it help to buy a laptop with higher resolution (WQXGA = 2560 x 1600) or does that just worsen the problem? After so many years, I start to like the WPF designer! :)

1

There are 1 best solutions below

2
Node defender On

For what you said, setting a scaling factor of 125% has an effect on the Winforms designer, mainly because Windows Forms Designer does not scale, WPF does this because it is vector-based, but WinForms is pixel-based.

For this issue, usually click the "Restart Visual Studio with 100% scaling" option or set the Visual Studio software to ignore Windows' DPI display scaling.

But this again seems to bypass the problem you mentioned in your post: "100% zoom is too small for old eyes on a laptop screen", so use a high resolution laptop or use a high resolution The external display is a very good solution