Friday, December 21, 2012

Re: Best way to use webfonts in GWT?

I have done the 2nd option. If you want to keep all the little images of the clean theme you should inherit CleanResources.gwt.xml instead of Clean.gwt.xml so that the images will be copied to your war directory but no CSS will be included in your host html page. After that you only have to modify the image paths in your "Clean" CssResource css file and start modifying things the way you want it.

To keep things a bit separated its also nice to have a "Reset" CssResource that sets the style of common HTML tags to defaults you want and not what browsers think would be best.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QM_OJzJCOCgJ.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate