This section show how to use a new skin for your Rialto Application
In your application you must add in your public repository the following folder:
Put in the image folder your specific images and in the style folder the css you want to use. The css must be a copy of the original defaultSkin.css where you put your own style.
This link must be after the rialtoGWT inherits.
<module> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name="fr.improve.rialto.gwt.core.Rialto"/> <stylesheet src="rialtoEngine/style/NewRialtoSkin.css"/> <!-- Load default skin stylesheet --> <!-- Specify the app entry point class. --> <entry-point class='fr.improve.gwt.client.TestGWT'/> </module>
After you must register and activate this css add in the moduleLoad fonction of your entry-point.
public void onModuleLoad() { SkinRegistry.registerSkin(null, "NewRialtoSkin"); SkinRegistry.activateSkin("NewRialtoSkin");