All
I have looked at the document on creating your own skin. I have done the following. Created a new project and copied the SilverWave directory structure from smartgwt-skins.jar into my own project.
I have done the following
1. Altered the SilverWave.gwt.xml and renamed it to MyTheme.gwt.xml and edited the location within it to MyTheme/load_skin.js
2. Renamed the public/cs/skins/SilverWave to public/cs/Skins/MyTheme
3. Altered the load_skin.js in that directory above, changing
isc.Page.setSkinDir("[ISOMORPHIC]/skins/MyTheme/")
4. Change my HTML file
to
5. Altered my project.gwt.xml file so that I import the new theme
<inherits name="com.myproject.theme.myproject.MyTheme" />
The issue is that when I load it. I looks like it is still trying to load Enterprise theme as all the windows are still blue, and the buttons are blue.
I have looked at the document on creating your own skin. I have done the following. Created a new project and copied the SilverWave directory structure from smartgwt-skins.jar into my own project.
I have done the following
1. Altered the SilverWave.gwt.xml and renamed it to MyTheme.gwt.xml and edited the location within it to MyTheme/load_skin.js
2. Renamed the public/cs/skins/SilverWave to public/cs/Skins/MyTheme
3. Altered the load_skin.js in that directory above, changing
isc.Page.setSkinDir("[ISOMORPHIC]/skins/MyTheme/")
4. Change my HTML file
Code:
// Determine what skin file to load var currentSkin = readCookie('skin_name_2_2'); if (currentSkin == null) currentSkin = "Enterprise";
Code:
// Determine what skin file to load var currentSkin = readCookie('skin_name_2_2'); if (currentSkin == null) currentSkin = "MyTheme";
5. Altered my project.gwt.xml file so that I import the new theme
<inherits name="com.myproject.theme.myproject.MyTheme" />
The issue is that when I load it. I looks like it is still trying to load Enterprise theme as all the windows are still blue, and the buttons are blue.
Comment