[Mono-dev] Patches for mono-winforms
stifu at free.fr
Sat Jul 28 11:48:17 UTC 2012
By the way, Steven, you might want to check out this bug, as it's related to
some of your contributions:
Before your patch(es), the DataGridView SelectionChanged event wasn't fired
with the test case attached to this report. Now, it seems it's fire twice
rather than once (despite the fact I said in the bug comments that the bug
seemed fixed). If you can't think of a way to fix this, it's alright. Just
thought I'd bring that up.
> It's in
> thanks again.
> Steven Boswell II wrote
>> Enclosed is the third patch for TableLayoutPanel. Our application has a
>> table-layout with column-spanning controls, and no control started in one
>> particular column. Mono set that column width to zero; .NET didn't.
>> I solved it by generating row/column sizes in N passes, where N is the
>> largest row/column span of any control. Each pass only increases the
>> width/height of the rightmost/bottommost column/row.
>> This gets Mono's behavior VERY close to .NET -- the unit test allows for
>> 3 pixels of difference. I don't know what the source of that is, but
>> it's a heck of a lot better than what the previous code did.
>> I had to include the substance of patch #2 in this one, or else three
>> other existing unit-tests failed. I guess my two bugs fixes couldn't be
>> separated after all :-)
>> As usual, apply the unit-test patch, watch it fail, apply the patch,
>> watch it succeed, and use the project to verify behavior under .NET and
>> MS Windows.
>> Steven Boswell
>> Mono-devel-list mailing list
>> Mono-devel-list at .ximian
View this message in context: http://mono.1490590.n4.nabble.com/Patches-for-mono-winforms-tp4650606p4650614.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list