Steven Evers
Steven Evers

Reputation: 17196

How to achieve 'wordwrap' of groupboxes in winforms?

I had a big explanation of what I wanted, until I realized that what I'm trying to reproduce is precisely word wrap, but with 200x150 groupboxes.

The only way I can figure to implement it would be to hardcode the positioning of the groupboxes on the resized event of the usercontrol (which I am getting going on right now). I'm wondering if there's another, easier, way that I might be missing.

Upvotes: 1

Views: 210

Answers (1)

Tormod Fjeldskår
Tormod Fjeldskår

Reputation: 6002

Just add the correctly sized group boxes to a FlowLayoutPanel.

Upvotes: 2

Related Questions