AutoSize Panel (Vertical only)

  • Thread starter Thread starter Nathan Laff
  • Start date Start date
N

Nathan Laff

I have a panel that I want to AutoSize with an AutoSize mode of
GrowAndShrink, but I only want it to autosize vertically. Reason being I
have anchors set up to a usercontrol which can resize.

Any idea on how to accomplish that?
 
Actually, I think it's the userControl I need to apply this logic to.

so the UserControl hosts a panel, when that panel grows or shrinks, i need
to resize the userControl vertically. setting autosize to true on the
usercontrol won't work because i dock the userControl to the top of the
form, and it's contents only display the fixed width.
 
Back
Top