On Tue, Apr 26, 2011 at 10:35, dabd <[email protected]> wrote:
> I just tried that but then I get an error that says "Added widget no
> supported".
>
> This is the bit of code I added:
>
>
> var listsLayout = new qx.ui.layout.HBox();
> listsLayout.setSpacing(4);
>
> var container = new qx.ui.container.Composite(listsLayout);
>
> container.add(usersSource);
> container.add(usersTarget);
>
> form.add(container, "Users");
>
>
> // create the view
> groupBox.add(new qx.ui.form.renderer.Single(form));
Sorry, I was thinking "form", not "Form". Yeah, the Form object isn't a
container as one might expect, and for that reason, I've tended not to use
them much. I guess someone else will have to tell you how to get the form to
render the way you want it to.
The alternative, and the way I tend to do it, is to use ordinary containers
instead of the Form class. It means I have a bit more bookkeeping to do
myself, but allows for ordinary layouts.
Cheers,
Derrell
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel