0

The display in the design interface is normal, but it is short after running. This situation did not happen in my program before, I don’t know. why. Comparison of design interface and actual operation interface

Form property settings

Andy
  • 12,859
  • 5
  • 41
  • 56
  • Try changing `AutoScaleMode` to `Font`, not `DPI`. – Andy Nov 08 '20 at 04:49
  • "changing AutoScaleMode to Font, not DPI" is useless, but the interface is shrunk into a ball @Andy – TheLittleCute Nov 08 '20 at 05:04
  • 3
    Start applying this: [How to configure an app to run correctly on a machine with a high DPI setting](https://stackoverflow.com/a/13228495/7444103). Enhance with: [High DPI support in Windows Forms](https://learn.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms) – Jimi Nov 08 '20 at 09:23
  • Changing `AutoScaleMode` to `None`. ? – 高鵬翔 Nov 09 '20 at 05:34
  • When I changed the 'Localizable' option from True to False, all this was resolved. It’s weird... – TheLittleCute Nov 09 '20 at 14:21

1 Answers1

0

When I changed the Localizable option from True to False, all this was resolved. It’s weird... changed the Localizable option from True to False