What is a correct way to override GWT default CSS style for widget?

495 views
Skip to first unread message

Dimitrijević Ivan

unread,
Nov 18, 2012, 12:45:30 AM11/18/12
to google-we...@googlegroups.com
What is a correct way to override GWT default CSS style for widget?

In documentation listed bellow, both ways (Including Style sheets in the HTML Host Page, Including Style sheets in the Module XML file) aredepricated.

https://developers.google.com/web-toolkit/doc/latest/DevGuideUiCss


Thomas Lefort

unread,
Nov 18, 2012, 3:05:31 PM11/18/12
to google-we...@googlegroups.com
Personally I use @external, either in my uibinder files, ie for a specific widget, or in a separate css that I inject at startup via my ClientBundle.

I don't know if it is "optimal" but it works well and is convenient.

deepak chauhan

unread,
Nov 18, 2012, 4:01:10 PM11/18/12
to google-we...@googlegroups.com
Have a look at com.google.gwt.user.theme.dark.Dark package in gwt-user.jar. You can create your own theme in the same way.

--
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/-/qenNiXAbO-UJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Deepak Chauhan....
Reply all
Reply to author
Forward
0 new messages