Download 1.5.x - Docs

Transcript
qooxdoo Documentation, Release 1.5.1
Grow
The grow layout stretches all children to the full available size but still respects limits configured by min/max values.
Features
• Auto-sizing
• Respects minimum and maximum child dimensions
Description
The Grow layout is the simplest layout in qooxdoo. It scales every child to the full available width and height (still
respecting limitations of each child). It will place all children over each other with the top and left coordinates set to
0. This layout is usually used with only one child in scenarios where exactly one child should fill the whole content
(e.g. adding a TabView to a Window). This layout performs a lot better in these cases than for example a canvas layout
with edge=0.
Layout properties
The Grow layout does not have any layout properties.
Alternative Names
• FitLayout (ExtJS)
API
Here is a link to the API of the layout manager:
qx.ui.layout.Grow
There are a few more layouts bundled with the default qooxdoo distribution but those are mostly intended for use by
a specific component. For example the Atom uses the Atom Layout, the SplitPane uses the two split layouts HLayout
and VLayout.
Through the simple API it should be quite easy to write custom layouts if the included ones do not meet demands.
Simply derive from the Abstract layout and start with a refined version of the method renderLayout().
12.3 Tooling
12.3.1 Default Generator Jobs
This page describes the jobs that are automatically available to all skeleton-based applications (particularly, applications with config.json files that include the framework’s application.json config file). Mainly this is just a reference
list with short descriptions of what the jobs do. But in some cases, there is comprehensive documentation about the interface of this job and how it can be parametrized (This would usually require changing your config.json configuration
file).
12.3. Tooling
415