Problem:
Clicking a Button, I'm adding 20 Panels to a parent Panel control; the problems is when I try to add a lot of child Button to the Panel, it shows some weird wide gap in it.
I'm sure the problem not from margin and BTW I set the main Panel to AutoSize = false, because I want to be able to scroll the child control of this Panel.
I tried to use the ControlAdded event: it doesn't work either because it will keep add height to the Panel, so the Scrollbar doesn't show up.
Note: it works fine with small amount of controls but when you try to add 500 something like that it'll show some weird gap between them.