A short-hand for the same thing is:

var root = this.getRoot();
root.add(container, { edge: 0});

In case you want your container to be a scrollable area, add a scroll container 
to the root and your widgets to this scroll container. You can take look at the 
WidgetOverview demo for a more complete example.

Tristan

Am 03.01.2011 um 21:04 schrieb Greg Hellings:

> On Mon, Jan 3, 2011 at 1:59 PM, Guilherme Aiolfi <[email protected]> wrote:
>> It depends on the layout you are using. If you didn't changed anything
>> related to that, your root layout should be a qx.ui.layout.Canvas.
>> So you just need to do:
>> var root = this.getRoot();
>> root.add(container, { left: 0, top: 0, right: 0, bottom: 0});
> 
> This was perfect, thanks!
> 
> --Greg
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to