PDA

View Full Version : GXT 2.0 and CSS



brendand
15 Apr 2009, 1:44 PM
I've noticed an inconsistency in the documentation regarding css. Haven't had a chance to test if changing the filename in the host page is all that is required.

2.0_migration_guide.html


ext-all.css renamed to gxt-all.css. Both images and css folder moved into new gxt folder.
Ext GWT CSS and images are no longer on the classpath. See the resources folder in the GXT distribution.


setup.txt


Add the following stylesheet to your host page.
<link rel="stylesheet" type="text/css" href="css/ext-all.css" />

kentonho
15 Apr 2009, 2:50 PM
All we did was change our html / jsp file to point to the gxt-all.css.

For example:

<link rel="stylesheet" type="text/css" href="../css/gxt-all.css"/>

We also copied the contents of resources and put them where we wanted in the new GWT 1.6 war file structure.

I hope this helps.