Hi Alex,

On Fri, 6 Mar 2009, Alexander Back wrote:

> Setup an coomposite container (the general container in qooxdoo) and add
> it to the application root and setup the table widget with the flex layout
> property.
>
> --snip--
> // HBox layout as sample
> var container = new qx.ui.container.Composite(new qx.ui.layout.HBox);
> this.getRoot().add(container, {left:0, right:0, top:0, bottom:0});
>
> // table code
> container.add(tabelle, {flex:1});
> --snip--
>
> The layout properties are well documented at the qooxdoo wiki.
> -> http://qooxdoo.org/documentation/0.8/ui_layouting#flex

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()?

Just trying to understand where the "flexiness" is actually attached to ...

Cheers,
Fritz


-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
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