AutoScaleMode.Inherit does not inherit
Posted
by codymanix
on Stack Overflow
See other posts from Stack Overflow
or by codymanix
Published on 2010-03-23T14:52:53Z
Indexed on
2010/06/15
7:02 UTC
Read the original article
Hit count: 279
I have a user control contained in a tabpage. The Form has set AutoScaleMode = AutoScaleMode.Font and the UserControl has set AutoScaleMode.Inherit.
Now when I enlarge the font size of the form then the font is enlarged in the user control too, but the controls contents are not scaled. If I explicitly set AutoScaleMode.Font on the user control then it works properly.
Shouldn't AutoScaleMode.Inherit work that way?
© Stack Overflow or respective owner