Hi Florian,
On Friday 06 March 2009 Florian Giesen wrote:
> at first, I wanted to write something like
>
> "spinner/upbutton/icon" : "path/mypic.png",
The issue here is that "icon" needs to be a map - more precisely it needs to
be an appearance which returns a map with correct properties.
> but that did not work. Then I had a look into the Appearance.js of the
> modern theme and wrote
>
> "myimage" :
> {
> include : "image",
>
> style : function(states)
> {
> return {
> "source" : "path/mypic.png" // just a sample
> }
> }
> }
This should work. Since the "icon" appearance is applied to an image widget
the "source" property is valid. Does the icon of your spinner button change?
Maybe you just picked the wrong path to your image.
If that's not getting you any further feel free to post your appearance theme
at the list. Maybe a look at the theme gets me closer to a solution for your
issue.
> As this didn't work too, I was finished with my latin ( don't take
> this bad translation of a german saying too serious :-)
Nice phrase. That made my day! :)
cheers,
Alex
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel