Reputation: 3362
I have a flowpanel that I'm dynamically adding usercontrols to. I want it to keep adding them and use a vertical scroll bar. It instead wraps them to the top and places a horizontal scroll bar. I'm sure I'm just missing something, but how do I get it to do vertical scrolling?
Upvotes: 2
Views: 3148
Reputation: 11
You have to enable scroll write this: flowLayoutPanel1.AutoScroll = true;
Upvotes: 1
Reputation: 3362
I figured out what I did. I had the flow direction set to TopDown, it needed to be set to LeftRight.
Sometimes I feel like a moron.
Upvotes: 7