Modifying default GWT CSS styles with UiBinder and ClientBundle

290 views
Skip to first unread message

GCSimon

unread,
Feb 5, 2012, 11:18:13 PM2/5/12
to google-we...@googlegroups.com
I want to use default CSS styles with UiBinder and ClientBundle (e.g. .gwt-DecoratedTabBar, etc.), but I get a compile error when I make a Resources interface which extends ClientBundle, with @Source("my_css.css") before my CssResource field.  The only way I have found to get around that is to use @NotStrict before the @Source annotation.  But when I read through the docs it seems to imply that @NotStrict is not the best way to do this.  Is there another, more "approved" method to use modified GWT CSS classes within ClientBundle?

Jens

unread,
Feb 6, 2012, 4:26:24 AM2/6/12
to google-we...@googlegroups.com
In your css file you have to mark external css classes with @external.


-- J.

GCSimon

unread,
Feb 6, 2012, 7:32:58 PM2/6/12
to google-we...@googlegroups.com
Thanks Jens.  I didn't pick up on the subtle reference to @external.
Reply all
Reply to author
Forward
0 new messages