Documentation

Reference
qx:grow (qx.ui.layout.Grow)

The grow layout stretches all children to the full available size but still respects limits configured by min/max values.

It will place all children over each other with the top and left coordinates set to 0. The qx.ui.container.Stack and the qx.ui.core.ScrollPane are using this layout.

Features

  • Auto-sizing
  • Respects minimum and maximum child dimensions

Item Properties

None

Example

var layout = new qx.ui.layout.Grow();

var w1 = new qx.ui.core.Widget();
var w2 = new qx.ui.core.Widget();
var w3 = new qx.ui.core.Widget();

var container = new qx.ui.container.Composite(layout);
container.add(w1);
container.add(w2);
container.add(w3);

External Documentation

Extended documentation and links to demos of this layout in the qooxdoo wiki.

LGPL, EPL © 2008 QxTransformer | Siarhei Barysiuk & Christian Boulanger.
Site design and illustrations by Siarhei Barysiuk. | Icons by Dry Icons.

qooxdoo