phaselden / FlipIt

Flip Clock screensaver
Creative Commons Zero v1.0 Universal
1.08k stars 126 forks source link

High DPI display problem #15

Open mt-yu opened 3 years ago

mt-yu commented 3 years ago

image

The Visual Studio 2019 designer under the 4k screen looks like this. Why should the AutoScaleMode in MainForm and SettingsForm choose Font instead of DPI? And there are display problems under dual displays with two different Dpi.

SmilerRyan commented 3 years ago

For me to fix this problem, I just launched Visual Studio with 100% scaling. I had overlapping problems because my recommended scaling setting is 150%. image

phaselden commented 3 years ago

Apologies @mt-yu, but I don't have a 4k screen so have not observed this. Because of this I haven't looked into the proper way to handle high-dpi screens in WinForms apps during development and runtime. It's something I should get around to at some point, but it's not high on the priorities list ATM.

mt-yu commented 3 years ago

hi, @phaselden I saw this link today, maybe it's helpful for this problem. high-dpi-support-in-windows-forms