title: DockStyle.Fill cuts off horizontal content
body: <p><strong>Problem:</strong>
  My <code>TableLayoutPanel</code> always has some horizontal content clipped - seems to be exactly the width of the scrollbar.</p>
  <p><strong>Expected result:</strong> I want all of the horizontal content to be shown, with no horizontal scrollbar. I want the vertical scrollbar shown.</p>
  <p><strong>Setting:</strong> I have a <code>Panel</code> with AutoScroll = True. Inside I have a <code>TableLayoutPanel</code> with Dock = DockType.Fill and AutoScroll = True. I created these in Design view, not programmatically.</p>
  <p>Here's a screenshot:</p>
  <p><a href="https://i.stack.imgur.com/P4JMU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P4JMU.png" alt="enter image description here" /></a></p>
  <p>And here's the designer code:</p>
  <pre><code>'
  'Panel1 - This is the Panel
  '
  Me.Panel1.AutoScroll = True
  Me.Panel1.AutoScrollMinSize = New System.Drawing.Size(0, 100)
  Me.Panel1.Controls.Add(Me.pnlColumns)
  Me.Panel1.Location = New System.Drawing.Point(12, 12)
  Me.Panel1.Name = &quot;Panel1&quot;
  Me.Panel1.Size = New System.Drawing.Size(566, 379)
  Me.Panel1.TabIndex = 4
  '
  'pnlColumns - this is the TableLayoutPanel
  '
  
  Me.pnlColumns.AutoScroll = True
  Me.pnlColumns.BackColor = System.Drawing.Color.Silver
  Me.pnlColumns.ColumnCount = 3
  Me.pnlColumns.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75.0!))
  Me.pnlColumns.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150.0!))
  Me.pnlColumns.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 341.0!))
  Me.pnlColumns.Dock = System.Windows.Forms.DockStyle.Fill
  Me.pnlColumns.Location = New System.Drawing.Point(0, 0)
  Me.pnlColumns.Name = &quot;pnlColumns&quot;
  Me.pnlColumns.RowCount = 14
  Me.pnlColumns.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30.0!))
  ' other rows removed for brevity
  Me.pnlColumns.Size = New System.Drawing.Size(566, 379)
  Me.pnlColumns.TabIndex = 0
  </code></pre>