[Mono-winforms-list] datagrid layout patch

Jordi Mas jordimash at gmail.com
Fri May 12 07:40:03 EDT 2006


El dj 11 de 05 del 2006 a les 15:24 -0400, en/na Chris Toshok va
escriure:
> The initial layout of the datagrid (CalcGridAreas in particular) ends up
> recursively calling itself (on one test it was being invoked 5 or 6
> times.)  You can see this happening with a large datagrid by watching
> the vertical scrollbar's slider change size as it lays out.
>         
> This patch calculates the layout/positioning of everything in a single
> pass, which speeds things up quite a bit.
>         
> Chris

Chris, your patch looks to me. Feel free to commit it. Thanks.

Jordi,



More information about the Mono-winforms-list mailing list