[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Sat Jul 21 14:42:03 UTC 2012


Here's the first of what I hope will be several submitted patches this weekend.  I fixed the bugs a while ago; the really time-consuming part is coming up with unit tests.

Before, when TableLayoutPanel got a control whose row-span and column-span were both greater than one, it would only lay out "dummy" controls along the top row and left column; it wouldn't fill in the rest of the area.  (The bug is kinda obvious when you look at the code. :-)

Enclosed is a bug-fix patch, a unit-test patch, and a project to verify behavior under .NET.  As usual, apply the unit-test patch, watch it fail, then apply the bug-fix patch, and watch it succeed.

Steven Boswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120721/22b6f583/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-12-TableLayoutPanel-RowColumnSpan-unittest.patch
Type: application/octet-stream
Size: 1512 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120721/22b6f583/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-12-TableLayoutPanel-RowColumnSpan.patch
Type: application/octet-stream
Size: 1631 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120721/22b6f583/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TableLayoutPanelTest1.zip
Type: application/zip
Size: 4144 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120721/22b6f583/attachment.zip>


More information about the Mono-devel-list mailing list