Search code examples
c#flowpanel

FlowPanel Vertical Scroll


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?


Solution

  • 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.