Hi -
SmartGWT 2.4, Firefox 5
I’m trying to create a toolstrip with a ToolStripButton using a custom theme based off of the default SmartGWT BlackOps theme. I followed the instructions to “copy” the BlackOps theme and create my own theme. I have yet to make any changes to my custom theme. When I run my app, the ToolStripButton does not show the hover, down, click, etc image states because it can’t find the appropriate button images.
Server log:
[WARN] 404 - GET /wizardsleevegwt/sc/skins/BPT-WS/images/ToolStrip/button/button_Over_start.png (127.0.0.1) 1463 bytes
[WARN] 404 - GET /wizardsleevegwt/sc/skins/BPT-WS/images/ToolStrip/button/button_Over_stretch.png (127.0.0.1) 1465 bytes
[WARN] 404 - GET /wizardsleevegwt/sc/skins/BPT-WS/images/ToolStrip/button/button_Over_end.png (127.0.0.1) 1461 bytes
Request headers
These images are indeed not in that directory. They are actually in /wizardsleevegwt/sc/skins/BPT-WS/images/button/
When I look at the toolstrip image directory, there is no button folder. It seems like at some point the SmartGWT developers moved all the buttons to the “button” directory.
Now I could copy over all the buttons tot he /ToolStrip directory but that is just working around the problem, not solving it.
What’s frustrating is that I can’t figure out where I can fix these requests so that they use /wizardsleevegwt/sc/skins/BPT-WS/images/button/ instead of /wizardsleevegwt/sc/skins/BPT-WS/images/ToolStrip/button/.
My skin_styles.css (and the one for BlackOps) do not have the incorrect links. I can’t find anywhere in my project where it states to use the path with /ToolStrip in it.
Help please!