[Wxsqueak] Changing Default Fonts

Rob Rothwell r.j.rothwell at gmail.com
Fri Aug 15 02:09:55 UTC 2008


On Thu, Aug 14, 2008 at 10:02 PM, Rob Rothwell <r.j.rothwell at gmail.com>wrote:

> 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...
>

Never mind!  Just a normal setFont, as expected, for the list panes...

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/wxsqueak/attachments/20080814/4dae166c/attachment.htm


More information about the Wxsqueak mailing list