On Sun, Feb 5, 2012 at 17:39, Harlan H. Bloom
<[email protected]>wrote:

> qx.Class.define("h4.Twitter",
> {
>  extend : qx.ui.tabview.Page,
>
>  construct : function()
>  {
>    this.base(arguments, "Twitter");
>
>    // hide the window buttons
>    this.setShowCloseButton(false);
>
>     var layout = new qx.ui.layout.Basic();
>

Here, you have created a layout, but not used it for anything. Add the
following line to make your code work:
this.setLayout(layout);


>       // create the form
>       var form = new qx.ui.form.Form();
>
>       // add the first headline
>       form.addGroupHeader("Registration");
>       this.add(new qx.ui.form.renderer.Single(form));
>
>    // adjust size
>    this.setWidth(250);
>    this.setHeight(300);
>  }
> });
>

Derrell
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to