[Mono-winforms-list] [PATCH] Theme.DefaultFont
Gert Driesen
gert.driesen at telenet.be
Fri Dec 29 08:11:49 EST 2006
Hi,
The attached patch makes a small change to Theme (and derived classes)
to make it more compatible with MS (see included unit tests).
On both the 1.0 and 2.0 profile, Theme.DefaultFont is now MS Sans Sarif
8.25 (instead of 8). This matches Control.Font and
SystemFonts.DefaultFont on MS.
On the 2.0 profile, Theme.DefaultFont is initialized with
SystemFonts.DefaultFont.
I modified the accessibility of the default_font field to private, since
Theme.DefaultFont is virtual anyway.
Let me know if it's ok to commit.
Gert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DefaultFont.patch
Type: text/x-patch
Size: 6716 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061229/b2fdfa90/attachment.bin
More information about the Mono-winforms-list
mailing list