Re: How to set Font style for full application

2009-08-26 Thread Alexander Cherednichenko
Simply, style entries from the class (.gwt-label, for example) are more important for the html renderer than element-related one. So, what you could do is to replace style declarations from the public.css with your own. Also, if you're specifying fonts, be sure not to forget about fallback ones.

Re: How to set Font style for full application

2009-08-26 Thread jhulford
Otherwise, if you only really want to change the font and not bother w/ copying the GWT css, just use the "!important" CSS declaration in your host page: body { font-family: "Times-New Roman" !important; } In the interest of being overly pedantic, Times is a proprietary font generally only found

Re: How to set Font style for full application

2009-08-26 Thread Brian Dorry
Parves, I had a similar issue to yours. What I did was copy the stylesheet for the theme I was using, removed the theme declaration from the entry point, and referenced the copied stylesheet manually. This let me make the GWT styles load before my own set of styles. On Aug 25, 8:23 am, Parvez Sha

Re: How to set Font style for full application

2009-08-25 Thread Christian Goudreau
Huh, I made a little errata. Google stylesheet load AFTER yours. So it override your own definition. On Tue, Aug 25, 2009 at 10:32 AM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > It's because the default style sheet from gwt component load before yours. > I also had that issue, an

Re: How to set Font style for full application

2009-08-25 Thread Christian Goudreau
It's because the default style sheet from gwt component load before yours. I also had that issue, and putting my own stylesheet in the public folder of before everything in the CSS Stylesheet wasnt doing anything. So, I don't remember the URL, but in Google Docs, they say that if you want to cust

Re: How to set Font style for full application

2009-08-25 Thread Parvez Shah
I am sorry I was not clear in stating my problem. I did set the css property . i tried setting in the body body{ } i tried setting in the EntryPoint class in my application EntryPoint load the main panel and main panel hold all the other subsequent widgets. I tried to set it in main panel. only

Re: How to set Font style for full application

2009-08-25 Thread श्री
parvez, On Aug 25, 5:23 pm, Parvez Shah wrote: > Hello, >  is there a way to set Font style for complete application, I tried > setting the font in the Main.html but to no avail you will have to set it in the CSS (under public folder) and it should work refer: http://lkamal.blogspot.com/2007/0

How to set Font style for full application

2009-08-25 Thread Parvez Shah
Hello, is there a way to set Font style for complete application, I tried setting the font in the Main.html but to no avail i am trying to set font style "Time new roman" size 16 but just cant get it done .. i searched in the samples but there also I could not find any example which does so. --~