I was recently asked by a user to increase the font size, since he couldn’t see some text easily. I did so, by changing the base fonts in the theme. However, some controls now crop their content text.
Is there a way to increase controls’ sizes proportionally with the font?
Wisej can scale a container (form, usercontrol, page) and all it’s children using the font of the container – like winforms. Scaling is done using the proportion of the font size difference from the AutoScalingSize stored in InitializeComponent() and the new font size when changing the font. You can also scale individual controls using the Scale() methods. When scaling a control, also the children are scaled including location, size, min/max size, padding, etc.
IIRC, there was a small issue with scaling at design time that is fixed in the upcoming build. But in general it works like WinForms font scaling mode.
Please login first to submit.