[fxruby-users] How can you bold the text in a label?

Bartosz Dziewoński matma.rex at gmail.com
Thu Apr 15 08:45:39 EDT 2010

2010/4/15 Paul Carvalho <tester.paul at gmail.com>:
> I'm having some difficulty trying to bold the text in a FXLabel object.  The
> catch is that I *don't* want to specify a font.
> Is it possible to tell the text to use a bold style without specifying the
> font?  I'd like the app to use the bold style of whatever system font is in
> use by default.

Have you tried to use nil/empty string font face and use font style
hint "System"? Or try any font together with the hint?

I haven't tried it myself, but according to docs it might work.

Matma Rex - http://matma-rex.prv.pl/

More information about the fxruby-users mailing list