This isn't as obvious as I would have liked for it to have been, but here is how you make a label autosize and wrap appropriately for the text assigned to it when the label is in a Windows Forms FlowLayoutPanel. Set the following properties as you see below:
  • Anchor: Top|Bottom|Left|Right
  • AutoSize: True
  • Dock:None
I found the solution here. Works great.

Filed Under: Winforms

Comments: 0

Comments

Something To Say?

Name: (optional)
Email: (optional, and will not be displayed)
Website: (optional)
Comment:

You can use html tags like <b>, <a>, and <p>. Actually, you can use just about anything. If you want to see what it will look like, click the preview comment button below.