Yup, two things you can do:

1. Look at the Javadoc for the SuggestBox API and note the
various .gwt-* css rules used by default to style the widget and start
using them.

2. Your screenshot is of Hosted Mode.  Run your application is Web
Mode and use Firebug or equivalent to get down and dirty into the DOM
to see what's "broken".

Walden

On Oct 15, 6:42 am, "kaspar.ru" <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm trying to use a SuggestBox  but it shows incorrectly, something is
> broken in css
>
> http://farm4.static.flickr.com/3045/2943471769_a3b8e77e48_o.jpg
>
> here is the code
>                MultiWordSuggestOracle oracle= new
> MultiWordSuggestOracle();
>                 List<String> candidats=new ArrayList<String>();
>                 candidats.add("Hello2");
>                 candidats.add("Hello4");
>                 candidats.add("Hello3");
>                 candidats.add("3Hello");
>                 candidats.add("Hello1");
>                 candidats.add("Hello0");
>                 candidats.add("privet");
>                 oracle.addAll(candidats);
>                 SuggestBox suggestBox=new SuggestBox(oracle);
>
> RootPanel.get().add(suggestBox);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to