Getting a Winform Label to Wrap in a FlowLayoutPanel
Posted: 12/10/06 6:22 PM
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