Hi Ric,

On Tuesday 08 September 2009 Riccardo-Maria BIANCHI wrote:
> when I try to use these commands:
>
> var button1 = new qx.ui.form.Button("First Button",
> "myapp/icons/16/utilities-dictionary.png"); var button2 = new
> qx.ui.form.Button("Second Button",
> "qx/icon/Oxygen/16/apps/utilities-dictionary.png"
>
> I get these errors:
>
> "qx.ui.basic.Image[35]: try to load a unmanaged relative image:
> myapp/icons/16/utilities-dictionary.png"
> "qx.ui.basic.Image[3r]: try to load a unmanaged relative image:
> qx/icon/Oxygen/16/apps/utilities-dictionary.png"
>
> but folders and files are there, I checked.
>
> Maybe have I missed some piece of the configuration?
For the first button: did you re-run the generator by calling "./generate.py 
source"? This is necessary since the generator needs to collect the resource 
files and adds them to the configuration.

For the second button: if you use the default Modern theme then the Tango icon 
theme is used and the every Oxygen icon is not added to your configuration. If 
you want to use these icons you can either change the icon theme or copy the 
icon files you want to use to your application resource folder and use your 
"myapp" resource prefix to reference them.

Did this anwers your questions?

cheers,
  Alex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to