Open
Description
The code for scaling fonts in a WinForms user control makes the overall size way bigger than the scaling factor. Enter a factor of 1.25, you might get 1.66 as the actual size.
Control.Scale sets the size of the child controls correctly, as per the scaling factor. However the fonts are still their original (small) size. Scaling the fonts doesn't give a correct overall ratio, and can mess up layout controls.
What's the correct way to get scaled fonts and controls to match the scalingFactor?
Metadata
Metadata
Assignees
Labels
No labels