PDA

View Full Version : Slate not available?



gslender
27 Apr 2008, 2:01 AM
Slate theme is in the JAR file but not showing up in the themeselector?

darrellmeyer
27 Apr 2008, 5:18 AM
There is a now a new themes module which includes the slate theme. In order two use the the slate theme you will need to do 3 things:

1. Inherit the themes module.
2. Override the themes used by ThemeSelector.
3. Include the CSS file(s) in your host page.

Changes will go out in beta2.

gslender
27 Apr 2008, 12:56 PM
Darrell, will docs explaining all this be included too? (ie is the JavaDocs self explanatory?)

darrellmeyer
27 Apr 2008, 4:14 PM
I have updated the explorer demo to use the new themes module which includes the slate theme. 2 nice changes:

1. The GXT styles are built into ext-all.css and xtheme-gray.css stylesheets (no more gxt-all and gxt-all-gray).
2. You only include ext-all.css in your host page. If you change themes, the other needed stylesheets are added automagically.

There are no docs yet, but you can use explorer as a guide.

gslender
27 Apr 2008, 4:55 PM
I have updated the explorer demo

Only in the SVN build I'm guessing as the website demo doesn't have this?

darrellmeyer
27 Apr 2008, 5:11 PM
Yes, just in SVN. I will not update the online demo with newer code than the build as that could cause all kinds of confusion.