Center multiple rows of controls in a FlowLayoutPanel
问题 I'm trying to make a panel that would host dynamically added controls. There are two caveats: There are going to be a lot of controls, so the panel should wrap the elements into new rows as it reaches its width limits and scroll vertically. Controls can change in size, which would change the number of elements that can fit into a single row. I've seen a couple proposed solutions to center dynamic controls in a Form and rejected those for following reasons: TableLayoutPanel - main issue I have