Summary: | [Chameleon] UpdateMap widget - using relative images | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Jeff McKenna <jmckenna@gatewaygeomatics.com> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | 1.99 beta 4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
note that if i copy the image to my app's images folder it appears magically.
Set Target Milestone to 1.99 RC
this seems to work now, however in this case it would produce unexpected results I think. Because you are not using a styleresource in the widget tag, chameleon will use the images you supply as the whole button image. The images/icon_update.png file is not a button but an icon to be placed on a button. The correct way to do this would be to use buttons/button_update_<x>.png where x = 1,2,3 for normal, selected and hover states (respectively). That is a convention used by Fred when designing the skins.