Thanks Izaak and Oliver, 

It worked using QxImageManager instead of QxSettings.

Regards,
Peter

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Izaak
Branderhorst
Sent: 22 March 2006 19:21
To: qooxdoo-devel@lists.sourceforge.net
Subject: Re: [qooxdoo-devel] No min/max icons in QxWindow after modifying
QxSettings in pre method

On Wed, 22 Mar 2006 14:08:36 -0500, Peter Hansen <[EMAIL PROTECTED]>  
wrote:

> window.application.pre = function ()
>
> {
>
> var QxSettings = {
>
>      imageCorePath : "/qooxdoo-0.5.1/images/core",
>
>      imageIconPath : "/qooxdoo-0.5.1/themes/icons",
>
>      imageWidgetPath : "/qooxdoo-0.5.1/themes/widgets"};
>
> };

By the time window.application.pre() is called, QxSettings has already  
been loaded (I guess the docs are slightly misleading about that). In any  
case, you're declaring QxSettings in a local scope, which wouldn't have  
any effect.

Use this approach instead:

window.application.pre = function()
{
        QxImageManager.setCorePath('/qooxdoo-0.5.1/images/core);
        QxImageManager.setIconPath('/qooxdoo-0.5.1/themes/icons');
        QxImageManager.setWidgetPath('/qooxdoo-0.5.1/themes/widgets');
}


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
This email has been verified as Virus free
Virus Protection and more available at http://www.plus.net



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to