At least when I tested Cuis StrikeFonts, this was caused by the weird behavior of String >> withoutTrailingDigits. (which returns the string up to first whitespace or digit, not the string excluding last digits and/or whitespace). The same might hold true for FreeType-fonts, haven't got time to test it right now though. Cheers, Henry On Aug 11, 2009, at 12:01 42PM, Gary Chambers wrote:
As for font chooser, there seems to be a problem with the FreeType support not selecting the correct fonts at the default sizes for some (most?) fonts. The FreeType font selector also exhibits this behaviour.
Regards, Gary ----- Original Message ----- From: csrabak@bol.com.br To: pharo-project@lists.gforge.inria.fr Sent: Monday, August 10, 2009 8:56 PM Subject: Re: [Pharo-project] How to build a GUI
Hi,
I'm a bit (well, totally) lost on how to build a GUI with Polymorph or ToolBuilder or whatever. I want to code a GUI with the same look & feel as Pharo tools. I cannot find any up to date comprehensive guide on the subject. May be you have some links, or good books ....
Laurent,
Not exactly a compreensive documentation but rather a quick start:
In a workspace evaluate:
UITheme exampleBasicControls. UITheme exampleColorControls. UITheme exampleDialogs. UITheme exampleGroups. UITheme exampleOtherControls. UITheme exampleWindowWithToolbars.
Once you're done (and if you managed *not* to click any "OK" button on the examples ;-) ) evaluate:
UITheme closeExampleDialogs.
HTH
PS.: Is it "known" (a.k.a. 'intentional') that in the Font Selector example the Preview isn't functional?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project