Where does standard.css get genrated?

42 views
Skip to first unread message

benneq

unread,
Dec 18, 2011, 12:02:07 PM12/18/11
to Google Web Toolkit
Hi,

we have a pretty big GWT project and we want to delete the
standard.css. So I deleted the whole war/project/gwt/standard folder
and I read somewhere that we just need to disable any theme in the
project's gwt.xml:
So here it is:

<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard' /> --
>
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> -->

But after compiling the app the file is again in the war/project/gwt
folder.

Can someone help us?

Deepak Singh

unread,
Dec 18, 2011, 1:03:52 PM12/18/11
to google-we...@googlegroups.com
I also want to disable this file but dont know how to do it.

Can someone pls suggest the way out.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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 Singh

-sowdri-

unread,
Dec 19, 2011, 12:23:37 AM12/19/11
to google-we...@googlegroups.com
First of all standard.css is not generated. It is part of the module 'com.google.gwt.user.theme.standard.Standard'. So to get rid of it, just comment the following line in your module definition. 

<inherits name='com.google.gwt.user.theme.standard.Standard' />

Remember doing so will break native GWT widgets like calender for example. So make sure you copy the relevant portions of it to your default.css. 

Thanks, 
-sowdri-

Thomas Broyer

unread,
Dec 19, 2011, 4:49:33 AM12/19/11
to google-we...@googlegroups.com
You must be inheriting from another module that (erroneously) inherits the standards theme (either Standard or StandardResources)

benneq

unread,
Dec 19, 2011, 9:44:32 AM12/19/11
to Google Web Toolkit
Thanks Master Broyer :)
I'll see though our 15 modules... And will report if it works

benneq

unread,
Dec 19, 2011, 2:23:14 PM12/19/11
to Google Web Toolkit
It was ColorPicker ver 2.1: http://code.google.com/p/auroris/Luckily I
wrote our own Colorpicker with GWT and Canvas, it's damn awesome (I'll
host it on Google Code soon)

benneq

unread,
Dec 19, 2011, 2:24:45 PM12/19/11
to Google Web Toolkit
Here's a screenshot: http://oi44.tinypic.com/qxt0nq.jpg

On 19 Dez., 15:44, benneq <benjamin_ma...@lavabit.com> wrote:
Reply all
Reply to author
Forward
0 new messages