MapTools.org

[Chameleon-dev] [Bug 127] [Chameleon] Widget Path Parameters "Relative to What?"

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Tue, 6 Apr 2004 13:23:42 -0400
http://www.maptools.org/bugzilla/show_bug.cgi?id=127

pspencer@dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chameleon-
                   |                            |dev@lists.maptools.org
         AssignedTo|chameleon-                  |mckenna@dmsolutions.ca
                   |dev@lists.maptools.org      |
            Summary|[Chameleon] Widget Path     |[Chameleon] Widget Path
                   |Parameters "Relative to     |Parameters "Relative to
                   |What?"                      |What?"



------- Additional Comments From pspencer@dmsolutions.ca  2004-04-06 13:23 -------
The new button architecture works like this:

* if reference is absolute then the image is left alone and assumed to be in the
location specified.

* if the reference is relative then the code tries to find the image in the
following locations:

  - relative to application directory
  - relative to the application's web path
  - relative to chameleon

so if you say 'images/icon_query.png' and this is not in your application then
it will use the icon_query from chameleon.  But if it is in your application
then it will the one in your application.

All image paths related to buttons are handled consistently in this way.  Other
widgets should also work this way and if they don't then it is a bug and should
be filed when found.

Widget documentation should be updated to reflect the above (for Button
attributes for images/fonts) for 1.99 release

The Widget development documentation should reflect the same rule, bug can be
closed once that is written.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.


This archive was generated by Pipermail.