Tuesday, January 6, 2015

Re: change CSS style of a single GWT widget

You have to add a class name to the TabLayoutPanel (addStyleNames in UiBinder). Then you can use ".myClass.gwt-TabLayoutPanel" which means both css classes must be present (no space between classes).

Alternatively you probably have a container which contains the TabLayoutPanel. In that case you can apply a class to the container and use ".container .gwt-TabLayoutPanel" which means "any TabLayoutPanel inside any element that has .container class applied".

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment