You can also change styles in the ui.xml file directly inside a <ui:style>
tag, like so:

<ui:style>
  @external gwt-SuggestBox;
  @external gwt-SuggestBoxPopup;

  .gwt-SuggestBox {
   ...
  }

  .gwt-SuggestBoxPopup {
   ...
  }

</ui:style>


(Note the @external - you need that for predefined styles)

kathrin

On Mon, Apr 19, 2010 at 2:54 AM, Roland Bali <roland.b...@gmail.com> wrote:

> Hi,
>
> I did some searching but couldn't anything about this subject. I'm
> using the SuggestBox widget and I'd like to change the layout for
> elements in a SuggestBox.
>
> For example I can change the .gwt-SuggestBox by adding addStyleNames
> but that only changes .gwt-SuggestBox but how do I change the "sub
> elements" like .gwt-SuggestBoxPopup .item?
>
> Is this possible at all using UiBinder?
>
> Kind regards,
> Roland
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@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