Hi Fritz,
On Friday 06 March 2009 Fritz Zaucker wrote:
> until very recently I had been somewhat confused about flex. Just for my
> (hopefully better) understanding:
>
> Is flex really a property of the layout, or isn't it rather a "property" of
> the placement of the widget into the container? If it was a property of the
> layout, wouldn't it then apply to the placement of all widgets inside this
> container (automagically) and wouldn't it then have to be set with
> something like container.setFlex()?
The "flex" property is a property of a layout (not all layouts are supporting 
this one). So the parameters of the "add" methods are 

1. the widget to add
2. the layout options

The second parameter is a map which is applied to the layout of the container.

> Just trying to understand where the "flexiness" is actually attached to ...
It is attached to the layout of the container (in this sample to the composite 
container).

cheers,
  Alex


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to