Hi,
you can just fetch the applications root and change its properties:

this.getRoot().setBackgroundColor("red");

This line would change the background color of your app to red.
If you want to use an image as background, you have to define your own
decorator like this:

var decorator = new qx.ui.decoration.Background();
decorator.setBackgroundImage("http://resources.qooxdoo.org/images/logo.gif";);
this.getRoot().setDecorator(decorator);

That brings the qooxdoo logo to your background. ;) The repeat property can
be changed on the decorator. Just take a look at the API of it:
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.decoration.Background

Regards,
Martin
-- 
View this message in context: 
http://n2.nabble.com/How-to-place-a-desktop-background-tp4638299p4638932.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to