I have a windows forms app built with .NET 3.5 and a relatively old version of Infragistics controls. It turns out some of the forms/controls look quite poor when viewed in Windows7 and Medium or Large Fonts. What are my options to resolve this? I have some tens of forms and would like a short-term solution rather than a rewrite, as the app will be migrated to WPF or Silverlight in the medium term.
Is there a switch I can ‘turn off’ medium/large fonts for the app as an immediate fix?
What general principles need to be followed for winforms apps to render nicely with medium/large fonts turned on?
So far the main things I’ve found I needed to do are:
Change forms/controls so AutoScaleMode is set to Font
Change any forms with programmatic resizing so they’re dependent on other controls’ size or position, rather than hard-coded numbers that are right if fonts are set to normal size.
Other than that things mostly work as desired. Mostly. Still the odd odd thing to track down.