[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Wed Jul 25 01:26:37 UTC 2012


Enclosed is bug fix #2 of 3 for TableLayoutPanel.

http://msdn.microsoft.com/en-us/library/ms171690.aspx says that, when the panel's AutoSize property is set to true, that Percent-style columns get treated like AutoSize-style columns with regard to the widest child control in the column.  Mono didn't do that; it does now.


Enclosed is a zip archive with a patch, a unit test, and a project.  As usual, apply the unit test, watch it fail, apply the patch, watch the unit test succeed, and use the project to verify equivalent behavior under .NET and MS Windows.

Coming next...a fix for table-layout panels when no control starts in a particular row/column.  Mono makes those rows/columns have zero extent, but .NET doesn't.  This is the bug fix that'll make the TableLayoutPanel1 project display properly under Mono.

Steven Boswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120724/1ec6fbb7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TableLayoutPanelTest2.zip
Type: application/zip
Size: 5877 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120724/1ec6fbb7/attachment.zip>


More information about the Mono-devel-list mailing list