Re: Remove ALL CSS from GWT

2011-08-22 Thread Sudhakar Abraham

Change the property in gwt.xml file as follows.

In the Project.gwt.xml file do not inherit the css  file.
comment as follows !-- inherits
name='com.google.gwt.user.theme.standard.Standard'/ --

Hope it helps.

S. Abraham
www.DataStoreGwt.com

On Aug 19, 7:57 pm, Alexander Orlov alexander.or...@loxal.net wrote:
 Even if you don't specify any specific theme in the *.gwt.xml some CSS
 directives are always inserted into the app. How can I specify that GWT
 should not insert any single line of CSS into the app?

-- 
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-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.



Re: Remove ALL CSS from GWT

2011-08-22 Thread Alexander Orlov
On Mon, Aug 22, 2011 at 1:36 PM, Sudhakar Abraham 
s.abra...@datastoregwt.com wrote:


 Change the property in gwt.xml file as follows.

 In the Project.gwt.xml file do not inherit the css  file.
 comment as follows !-- inherits
 name='com.google.gwt.user.theme.standard.Standard'/ --


...is supposed to work only if you are using non-Layout widgets, i.e.
RootPanel instead of RootLayoutPanel. If you use it with RLP some
layout-related CSS properties still remain.

Fortunately you can override RootLayoutPanel's defaults with your own CSS
values.

-- 
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-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.



Re: Remove ALL CSS from GWT

2011-08-19 Thread Alexander Orlov
Using

RootPanel.get().add(app);

instead of

RootLayoutPanel.get().add(app);


...was the solution. Eventually you should add

inherits name=com.google.gwt.user.theme.standard.StandardResources/

to your *.gwt.xml as described 
herehttp://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html#themes
.
 

-- 
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/-/8cSCQOpy_qgJ.
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.



Re: Remove ALL CSS from GWT

2011-08-19 Thread Y2i
This is probably a coincidence.  RootPanel and RootLayoutPanel serve 
different purposes.

-- 
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/-/g6vNQZBiPCgJ.
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.