I'm actually finding that this is not a complete solution.  I tried using 
this combination of @Import and @Source in a ClientBundle to override a 
single CSS class on a GWT widget, and took advice from the issue Tomek 
linked to and extended the CssResource and used it in my overriding 
ClientBundle to avoid naming collisions.  But what I found was that, in the 
above example, if you had

.imgStyle {
    border: 2px dashed green; 
    height: 22px;
}

and

.tr-imgStyle {
    border: 1px solid red;
}

you still end up with height: 22px on the image that uses 
OverriddenTestResource.css().imgStyle().  I would like to see a way to have 
most of the inherited styles come through from test.css but have nothing 
from test.css come through for the .imgStyle() class/method.

-- 
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+unsubscr...@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/groups/opt_out.

Reply via email to