Hi metaperl,
the source code you uploaded to bitbucket contains this line: doc.add(button1, {left: 100, top: 50}); doc is a composite widget which has a horizontal box layout and therefore does not have left or top layout properties. I guess you just forget to change this after you changed "doc" from application root to a composite. ;-) The real problem ist that your do not see any error messages. What browser are you using? Have you tried to press F7 to see the qooxdoo console? Cheers, Jonathan On 26.11.2008, at 08:26, metaperl wrote: > > Hello, I got the 'Hello World' example working. Then I tried to > replace > > var doc = this.getRoot(); > > with the code in the Image demo > > http://demo.qooxdoo.org/current/demobrowser/#widget~Image.html > > that creates an HBox: > > var layout = new qx.ui.layout.HBox(); > layout.setSpacing(20); > > var doc = new qx.ui.container.Composite(layout); > this.getRoot().add(doc, {left:20,top:20}); > > > but nothing is rendered and no errors are thrown in the Console. > > Here is the complete source code which is not working: > http://www.bitbucket.org/metaperl/metaperl-website/src/f4e843db8876/metaperl_website/source/class/metaperl_website/Application.js ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel