Page 1 of 1

change smartgwt theme

PostPosted: Tue Jan 11, 2011 11:04 am
by tomrff
smart gwt now has 5 themes. since version 1.0b2 all themes are located in smartgwt-skins.tar.
The themes to chose from are:

o enterprise (default) (from version 1.0b2)
o blackops
o treefrog
o silverwave
o fleet (from version 2.0b3)

If you want to change the theme you need to add smartgwt-skins.tar first once this is done you can change the theme by adding one of the folloing lines to the projectname.gwt.xml file (where you added the smartgwt inherits).

<inherits name=”com.smartclient.theme.silverwave.SilverWave”/>
<inherits name=”com.smartclient.theme.blackops.BlackOps”/>
<inherits name=”com.smartclient.theme.treefrog.TreeFrog”/>
<inherits name=”com.smartclient.theme.fleet.Fleet”/>