« Return to Thread: icon URI string question

Re: icon URI string question

by Ralf Nieuwenhuijsen-2 :: Rate this Message:

Reply to Author | View in Thread

Which version are you using?

I've noticed that in the trunk, I need to explicitely add qx as an asset.
Perhaps you are hit by the same bug?

Mvg,
Ralf


On Sun, Jul 5, 2009 at 12:26 PM, panyasan <info@...> wrote:


panyasan wrote:
>
>
>
> panyasan wrote:
>>
>> and instantiate an Image widget in my code:
>>
>> this.__image = new
>> qx.ui.basic.Image("icon/Tango/48/status/dialog-information.png");
>>
>
> Sorry, used the wrong code snipped: it is
>
> this.__image = new
> qx.ui.basic.Image("icon/48/status/dialog-information.png");
>
> without the "Tango", which used to work before in another application, but
> is not working now. So the problem it the same, "Tango" or not.
>

It is really strange. If I add

     qx.util.AliasManager.getInstance().add(
       "icon",
       qxlibraries.qx.resourceUri + "/" +
         qx.util.AliasManager.getInstance().resolve("icon")
     );

in my main() method, the network tab in firebug shows that the image is
correctly loaded from

http://localhost:8080/Bibliograph/qooxdoo-contrib/qooxdoo/trunk/framework/source/resource/qx/icon/Tango/48/status/dialog-information.png

However, qooxdoo still displays a notice:

qx.ui.basic.Image[hp]: Unknown image:
../../../../../qooxdoo/trunk/framework/source/resource/qx/icon/Tango/48/status/dialog-information.png

and does not display the image.

I am at a loss what to do? Is there a config.json or Manfifest.json setting
that I need to configure?

Thanks, Christian

--
View this message in context: http://www.nabble.com/icon-URI-string-question-tp24334470p24341818.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: icon URI string question