Hi Kora,

you can do it like this:

  Application.js
.--------------
| ...
| var decorator = new qx.ui.decoration.Background();
| decorator.setBackgroundImage("resource/custom/bg.jpg");
| // decorator.setBackgroundRepeat("no-repeat");
| this.getRoot().setDecorator(decorator);
|

See also:
http://demo.qooxdoo.org/2.1.1/apiviewer/#qx.ui.decoration.Background

Regards
Richard

Am 25.06.13 10:48, schrieb kora:
> Hello,
>
> I'm a little bit confused in how to implement HTML code / especially image
> (background image) into my Qooxdoo code.
>
> Is it possible with:
> - qx.ui.embed.Html
> - qx.html.Element and derived classes (qx.html.Image) ?
>
> Has anybody an example ?
>
>
> Cheers
>
> Kora
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Embeding-HTML-code-into-Qooxdoo-tp7583941.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to