I have a custom control built of other controls that is being loaded in two different places. On one it appears the way it does in the designer, as expected, on the other it is being resized smaller without being instructed to do so. Even when I explicitly adjust the size in code the control appears to get bigger, but the controls within are still smaller than they should be. What could causing this to happen?
A:
Any differences in the font size between the custom controls' containers (form, panel, etc.)?
See if setting your control's AutoScaleMode to Dpi
helps.
Jay Riggs
2009-11-12 20:06:02
Thanks! Got me out of a bind.
DJ
2009-11-12 20:15:36