Winform scaling problem

  • Thread starter Thread starter Peter Morris
  • Start date Start date
P

Peter Morris

There's a guy at work who we all just thought was visually disabled or
something. Whenever he creates Forms they look terrible, lables too short
for their text etc. We recently discovered it is actually something to do
with scaling (well, except for the crappy alignment, for that he needs
slapping.)

When he creates a form 1000 wide and someone else opens that form it scales
down to about 750. If we set Scaling to None on the form it doesn't happen
any more. Now setting scaling on everything isn't what we'd like to do. I
was wondering if anyone might know what it is on his computer that is
affecting the scaling in this way? We all have the standard windows system
font size.

Any ideas?
 
Does he have different font sizes in his display theme? It seems like
font scaling was the default. I'm sure glad MS ditched this "feature"
for WPF.
 
If the forms were created when the developer's machine was set to another
DPI, then the auto-scale information persisted in the form will use that
DPI. It's a huge pain in the ass and I'm glad WPF made it all irrelevant.

Josh Einstein
 
Back
Top