Hi,
I'm trying to change the default font size on a wxHtmlWindow, but can't seem
to get it to work. The font size is way too big, so I've tried to make it
smaller, but my new setting is never recognized. Anyone have any ideas as to
why not?
self.htmlpnl = wxHtmlWindow(self.notebook, -1)
self.htmlpnl.SetFonts("", "", (6, 8, 10, 12, 14, 16, 20) )
self.htmlpnl.LoadPage(page)
Thanks in advance if anyone can help,
Mike
I noted this problem too: standard font size can´t be changed.
But you can use another size:
self.htmlpnl.SetFonts("", "", (6, 8, 10, 10, 14, 16, 20) )
and do: <FONT SIZE=-1>TEXT TEXT TEXT</FONT>
everywhere.
···
----- Original Message -----
From: Mike Miller <Mike.G.Miller@disney.com>
To: <wxpython-users@wxwindows.org>
Sent: Monday, August 14, 2000 5:56 PM
Subject: [wxPython] wxHtmlWindow
Hi,
I'm trying to change the default font size on a wxHtmlWindow, but can't
seem
to get it to work. The font size is way too big, so I've tried to make it
smaller, but my new setting is never recognized. Anyone have any ideas as
to
why not?
self.htmlpnl = wxHtmlWindow(self.notebook, -1)
self.htmlpnl.SetFonts("", "", (6, 8, 10, 12, 14, 16, 20) )
self.htmlpnl.LoadPage(page)
Thanks in advance if anyone can help,
Mike
_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users