Aliases do not work recursive "icon" is already an alias. You cannot use
an alias to define another one.
Sebastian
Hugh Gibson schrieb:
> I'm not sure if I'm using the AliasManager correctly, or whether there's a
> problem in 0.6.6 - but I can't get images specified in the constructor of an
> Atom to alias correctly.
>
> I modified Showcase, around line 208, in _createToolTipDemo:
>
> qx.manager.object.AliasManager.getInstance().add("foobar",
> "icon/32/actions");
>
> var c1 = new qx.ui.basic.Atom("Hover me", "foobar/system-run.png");
>
> However, the icon requested is not aliased:
>
> 011000 ERROR: qx.io.image.PreloaderSystem[3900]: Could not preload:
> foobar/system-run.png
>
> Is this a bug or am I doing something wrong?
>
> Hugh
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel