Hi guys,
I have wrapped the ExtJS themes created by madrabaz so they can be used also in ExtGWT.
Themes:
- Black (http://extjs.com/forum/showthread.php?t=15504);
- DarkGray (http://extjs.com/forum/showthread.php?t=15341);
- Olive (http://extjs.com/forum/showthread.php?t=15505);
- Purple (http://extjs.com/forum/showthread.php?t=15377);
- Slickness (http://extjs.com/forum/showthread.php?t=28024);
Usage:
Insert this to your *.gwt.xml file:
Then add the theme JAR files to your classpath.Code:<inherits name='ext.ux.theme.black.Black'/> <inherits name='ext.ux.theme.darkgray.DarkGray'/> <inherits name='ext.ux.theme.purple.Purple'/> <inherits name='ext.ux.theme.olive.Olive'/> <inherits name='ext.ux.theme.slickness.Slickness'/>
Then add this to your ExtGWT Java code:
And then register the theme as follows:Code:import ext.ux.theme.black.client.Black; import ext.ux.theme.darkgray.client.DarkGray; import ext.ux.theme.purple.client.Purple; import ext.ux.theme.olive.client.Olive; import ext.ux.theme.slickness.client.Slickness;
Enjoy!Code:ThemeManager.register(Black.BLACK); ThemeManager.register(DarkGray.DARKGRAY); ThemeManager.register(Olive.OLIVE); ThemeManager.register(Purple.PURPLE); ThemeManager.register(Slickness.SLICKNESS);
Cypher
PS:
The attached ZIP files need to be renamed to JAR and then included in your ExtGWT project.