The Coding Humanist

Getting a Winform Label to Wrap in a FlowLayoutPanel

-- Filed Under: Winforms

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.