views:

126

answers:

1

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
Thanks! Got me out of a bind.
DJ