Hi Farid

I guess the solution to your problem could be the Background-Decorator?
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.decoration.Background

You could even create a own appearance for your Image and set the
decorator there.

Roman

Farid Elyahyaoui wrote:
> Thanks for the quick answer.
> but ...
> I think this will set the image displayed in the widget (similar to
> setSource).
> what I  need is the background behind the image.
> in 0.7 I could set this with setBackgroundImage.
> I need this because the source image I want to display needs a special
> background image to distinguish it from the rest of the GUI.
> 
> Farid
> 
> On Wed, Jan 21, 2009 at 12:03 PM, Marco Vecchi <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     You pass directly when create the object.
>     as in this example in a api reference of qooxdoo
> 
>       var image = new 
> qx.ui.basic.Image("icon/32/actions/format-justify-left.png");
> 
> 
> 
>     ------------------------------------------------------------------------
>     Date: Wed, 21 Jan 2009 11:45:32 +0100
>     From: [email protected] <mailto:[email protected]>
>     To: [email protected]
>     <mailto:[email protected]>
>     Subject: [qooxdoo-devel] "backgroundImage" property gone in 0.8?
> 
> 
>     Hi all,
> 
>     the setBackgroundImage member of the image widget is not available
>     in 0.8 it seems.
> 
>     when I try:
>             var resultView = new qx.ui.basic.Image;
>             resultView.setBackgroundImage("myapp/image/blockbg.png");
> 
>     I get an error message in firebug which says that resultView has no
>     member "setBackgroundImage".
>     in 0.7 this code worked fine.
>     I can't find it in the online 0.8 api reference on qooxdoo.org either.
>     How can I set the background image of a qx.ui.basic.Image widget in
>     qx 0.8.1?
> 
>     Farid
> 
>     ------------------------------------------------------------------------
>     check out the rest of the Windows Live™. More than mail–Windows
>     Live™ goes way beyond your inbox. More than messages
>     <http://www.microsoft.com/windows/windowslive/>
> 
>     
> ------------------------------------------------------------------------------
>     This SF.net email is sponsored by:
>     SourcForge Community
>     SourceForge wants to tell your story.
>     http://p.sf.net/sfu/sf-spreadtheword
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to