I havent gotten around to styling my work in progress yet but i guess
i'll also need the answer to this question.   If i were trying to do
this, my first thought would be to just run the thing in firebug and
look at the html being rendered to see what you need to attach css
to.  Have you tried that?

Trevis

On Aug 13, 2:16 pm, ART <anithar...@gmail.com> wrote:
> Hi All,
> How can I change the font size or font-family inside a GWT
> SuggestBox , I tried
> MultiWordSuggestOracle multi  = null;
> SuggestBox    txtS   = null;
>
>  multi = new MultiWordSuggestOracle();
>             txtS = new SuggestBox(multi);
>             txtS.setAnimationEnabled(true);
>                      txtS.setPopupStyleName("menubar");
>
> where my  css class "menubar" has the attributes below:
> .menubar
> {
>  background-color: #eff6ff;
>    font-family: verdana, arial, Helvetica, sans-serif;
>    color: #336699;
>      font-size:6px;
>    border: #8b9399 1px solid;
>    padding-left: 8px;
>    padding-right: 8px;
>    padding-top: 5px;
>    padding-bottom: 5px;
>
> }
>
> This does not decrease the fontsize.
> Any help is appreciated.
> thanks ,
> ART
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to