Sunday, February 27, 2011

Re: how do i use google font api on uibinder/gwt?

Just put

<link href='http://fonts.googleapis.com/css?family=Tangerine'
rel='stylesheet' type='text/css'>

in the head section of your war/<AppName>.html file. From then you can
use the font in your UI Binder. But you have to specify the css font
attributes (for example: ... font-family: 'Tangerine', helvetica,
arial, serif; ... this should do the trick). Works fine in my app.

Michael

On 25 Feb., 12:59, dadada <ytbr...@gmail.com> wrote:
> hi all,
>
> question as above.
>
> uibinder doesn't accept      <ui: rel="stylesheet" type="text/css"
> href="http://fonts.googleapis.com/css?family=Tangerine">
>
> /bryan

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment