dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.41k stars 984 forks source link

Font size of Form and controls are changed a little bigger by default #1122

Closed Olina-Zhang closed 5 years ago

Olina-Zhang commented 5 years ago

Problem description:

  1. Create 2 apps, one is a .Net Core Winforms app and another is a .Net framework Winforms app, which have same designer code with some controls added. FrameworkApp.zip CoreApp.zip

  2. Build and run these 2 apps, and compare size of forms and controls

Actual behavior: Size of Form and controls are different for .Net Core and .Net framework, .Net Core app is a little bigger. This is a regression issue in Core. image

Expected behavior: They should have same size.

merriemcgaw commented 5 years ago

I believe these should now be different because of the new default font work in #656 that was recently merged. We had to do this before we shipped our Go-Live so that customers would adjust their apps if needed based on this new more modern default.

merriemcgaw commented 5 years ago

We're going to close this as by design due to #656