Hello,
Attached you will find two patches that fix compatibility issues with the
classes mentioned in the subject.
The first patch, TreeView.cs.diff
() adds support for node images
and changes the way the control generates CSS for the nodes. Current Mono
implementation generates inline style attributes, while MS.NET and the proposed
patch do it in the page header by emitting a style tag with the CSS classes. The
functionality falls back to the old way of generating inline style should the
header in the page be missing/inaccessible.
The second patch, Style.cs.diff
(), changes the way the FontInfo
is renderd by the Style class. MS.NET renders the text-decoration: none element
if none of Underline, or Strikeout properties are set.
Together, the patches make this sample:
render nearly the same under Mono as under MS.NET.
Please review the diffs and apply to the svn tree if they are accepted,
thanks :)
best regards,
marek
Mono-devel-list mailing list
Mono-devel-list (AT) lists (DOT) ximian.com
PGP SIGNATURE
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
GFzmFhD0jaCUHAKNaSJdknY=
=k6Fd
PGP SIGNATURE