Fix bugs in sizing TableLayoutPanel (Xamarin bug 18638)
authorStephen McConnel <stephen_mcconnel@sil.org>
Wed, 2 Apr 2014 22:03:24 +0000 (17:03 -0500)
committerStephen McConnel <stephen_mcconnel@sil.org>
Wed, 19 Nov 2014 20:53:12 +0000 (14:53 -0600)
commitc735753a3c0a2c95a55e2a000e0b8d187abf3e43
tree7f9b53cc37d2a898d649d478647ed9766e4fd692
parent014f882aeaf1c9fa519734518ae6c753b91cd0b1
Fix bugs in sizing TableLayoutPanel (Xamarin bug 18638)

Consider spans and absolute sizes in computing PreferredSize for
TableLayoutPanel.
Also fix bug in allocating unused width to SizeType.Absolute columns.

Change-Id: Ic5065b83ced8195d1c5be39087f33b0d632fc9a6
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayout.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutPanel.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/.gitattributes
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TableLayoutTest.cs