On reading your problem, I became curious how this is achieved.

According to the following article, you can do this using the interfaces.
http://stackoverflow.com/questions/5943895/how-exactly-would-one-override-a-cssresource
 

So, you'll need to use the interfaces in your UiBinder.

Something like:

# put this in your new widget's java class
interface CustomStlye extends ToggleButton.Style
{ 
@Override
public String down(); 
}

# put this in the UiBinder of your new widget
<ui:style type="com.mypackage.CustomStyle" > 
    .button .down { 
       background: #fff; 
    } 
</ui:style>


Let me know if this works for you. I don't have the time to make a module 
to test this on?

Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ZFHeGB1jT0IJ.
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