[Wxsqueak] Changing Default Fonts
Rob Rothwell
r.j.rothwell at gmail.com
Fri Aug 15 02:02:41 UTC 2008
On Thu, Aug 14, 2008 at 9:49 PM, Rob Gayvert <rtg at rochester.rr.com> wrote:
> Most of the dev tools use WxPluggableTextWidget, which is a subclass of
> WxStyledTextCtrl, which in turn is a wrapper around the Scintilla editor.
> This gives it a lot of capabilities, but at the expense of making some
> simple things non-obvious. In this case, #setFont: doesn't do anything;
> instead, you need to change the "default style". Try something like
> textPane styleSetFont: wxStcStyleDefault font: (WxFont pointSize: ...
> etc ...)
Thanks! That did it...will list boxes and such behave similarly (like the
SystemBrowser panes), or will they respond to setFont? I didn't start with
them because they were buried amidst so many other things I didn't
understand that I just wanted to know I could use WxFont properly first...
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/wxsqueak/attachments/20080814/2b9bdb03/attachment.htm
More information about the Wxsqueak
mailing list