[Mono-winforms-list] [PATCH] AutoSize fixes for bug 402849 - Please Review

Ivan N. Zlatev contact at i-nz.net
Tue Jul 1 17:56:53 EDT 2008


Attached patch fixes bug #402849 and basically boils down to two main things

- We should check whether children are in AutoSize and only then ask
for PreferredSize, else use ExplicitBounds.
- Apply padding to the preferred size for Form.

If no objections, I will commit.

Thanks,
Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-402849-AutoSize-fixes.patch
Type: text/x-patch
Size: 4233 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080701/f8e0c1fd/attachment.bin 


More information about the Mono-winforms-list mailing list