title: C#: How to get a user control to properly auto size itself
body: <p>I have a <code>UserControl</code> which consists of a <code>Label</code> (Top), a <code>FlowLayoutPanel</code> (Fill, TopDown flow and no wrap) and a <code>Panel</code> (Bottom). The user control creates a number of controls, based on a list of stuff it gets, and adds them to the <code>FlowLayoutPanel</code>.</p>
  
  <p>How can I get this <code>UserControl</code> to properly resize itself so that the <code>FlowLayoutPanel</code> does not have any scroll bars? I have tried to use various combinations of <code>AutoSize</code> and <code>AutoSizeMode</code> on the <code>FlowLayoutPanel</code> and the <code>UserControl</code> itself, but I can't seem to get it working. Either I end up with something that doesn't resize itself at all, or it doesn't become big enough or it is squished down to almost nothing.</p>