The problem concerns TableLayoutPanel scrolling.
You have to use a Panel for scrolling instead of TableLayoutPanel.
Here is an example to solve this problem (for vertical scrolling) :
- Set your TableLayoutPanel properties as follow :
- Dock = DockStyle.Top
- AutoSize = true
- AutoSizeMode = AutoSizeMode.GrowAndShrink
- AutoScroll = false.
- Put your TableLayoutPanel into a Panel with properties :
- Dock = DockStyle.Fill
- AutoScroll = true
- AutoSize = false.