[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Thu Jul 26 02:02:03 UTC 2012


Wow...that is totally bizarre.  I swear that working for me yesterday.  I can't get it to work now.
Either I was in an evil parallel universe yesterday...or I am now.
Oh well.  I'll let you know if I figure it out.

In the meantime, here's a fix for a bug I just noticed today.  If the currently-selected item of a drop-down-list-style ComboBox is modified, and the text selection is anything but the entire item, the combo-box's text box is updated improperly.  Enclosed is the unit test, patch, and project, as usual.

Steven Boswell


________________________________
 From: Stifu <stifu at free.fr>
To: mono-devel-list at lists.ximian.com 
Sent: Tuesday, July 24, 2012 10:53 PM
Subject: Re: [Mono-dev] Patches for mono-winforms
 
The TableLayoutPanelTest2 project works properly without patching Mono. No
errors, same rendering as .NET.

http://mono.1490590.n4.nabble.com/file/n4650550/mono_tablelayout2.png
mono_tablelayout2.png 


Steven Boswell II wrote
> 
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120725/df35c511/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ComboBoxTest3.zip
Type: application/zip
Size: 5275 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120725/df35c511/attachment.zip>


More information about the Mono-devel-list mailing list