2009/4/19 eric <[email protected]>:
> Hi,
>  I want to specify the font of all of the elements in
> shoes application. It says that "In some cases, you can even style
> an entire class of elements" in the Shoes Manual, but I can not
> find the way to do it in the manual.
> Could anybody give me a clue?
>
> Is is possible to specify the fonts used by all elements?

Hi,

You can use the style method to set default styles for elements.

Example:

  style Shoes::Para, :stroke => blue, :font => "10px"

Thus, using the same font for every text element should be easy, just
spot the right classes in the shoes manual.

--
François

Reply via email to