*From qooxdoo man page:*

*The flex value indicates the flexibility of the item, which implies how an
item's container distributes remaining empty space among its children.
Flexible elements grow and shrink to fit their given space. Elements with
larger flex values will be sized larger than elements with lower flex
values, at the ratio determined by the two elements. The actual flex value
is not relevant unless there are other flexible elements within the same
container. Once the default sizes of elements in a box are calculated, the
remaining space in the box is divided among the flexible elements,
according to their flex ratios. Specifying a flex value of 0 has the same
effect as leaving the flex attribute out entirely.*
*
*
*And simply:*
Flex property will set the flexibility of widget size..  If you have 2
widgets with same flex then it will take the size  by the ratio of 50%-50%
of total available space..

If first widgets flex is "1" and second widget flex is "2" means
widget *1 * will
occupy larger space then widget 2.

*Thanks & Regards,*
Baskar.M

*www.theroxsoft.com*



On Sun, May 19, 2013 at 11:14 AM, jenia <jenia2...@yahoo.com> wrote:

> you do
> row.add(button, {flex: 1});
>
> can someone tell me what this flex means?
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/how-to-make-a-hbox-composite-to-maximize-its-content-horizontally-tp7583653p7583654.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to