Layout Terminology
From Adobe Open Source Wiki
(Difference between revisions)
| Line 3: | Line 3: | ||
== Related Structures == | == Related Structures == | ||
| − | + | ; Layout Unit : tbd | |
| − | + | ; Interval Range : tbd | |
== General Layout Attributes == | == General Layout Attributes == | ||
| Line 10: | Line 10: | ||
=== Container Attributes === | === Container Attributes === | ||
| − | + | ; indent : (default: 0) The amount of space between the leftmost (or topmost) widget and the end of the left (or top) margin. | |
| − | + | ||
| − | + | ; create : (default: true) Determines whether or not this node actually creates a widget using a platform widget implementation. Examples of noncreating containers are row, column, and overlay. This attribute is not settable from within the layout description. | |
| + | |||
| + | ; spacing : (default: 10) The amount of space to be put between multiple children of the container. This value can also contain an array, which will be iterated in turn to determine the spacing between two child widgets. Example: spacing: [ 5, 10, 15 ] will yield a container with 5 pixels between child widget 1 and 2, 10 pixels between child widget 2 and 3, and so forth. | ||
| + | |||
* placement | * placement | ||
* margin | * margin | ||
Revision as of 18:15, 30 March 2007
This is the layout behavior specifications for the default set of ASL widgets.
Contents |
Related Structures
- Layout Unit
- tbd
- Interval Range
- tbd
General Layout Attributes
Container Attributes
- indent
- (default: 0) The amount of space between the leftmost (or topmost) widget and the end of the left (or top) margin.
- create
- (default: true) Determines whether or not this node actually creates a widget using a platform widget implementation. Examples of noncreating containers are row, column, and overlay. This attribute is not settable from within the layout description.
- spacing
- (default: 10) The amount of space to be put between multiple children of the container. This value can also contain an array, which will be iterated in turn to determine the spacing between two child widgets. Example: spacing: [ 5, 10, 15 ] will yield a container with 5 pixels between child widget 1 and 2, 10 pixels between child widget 2 and 3, and so forth.
- placement
- margin
- horizontal
- vertical
- child_horizontal
- child_vertical
Leaf Node Attributes
- outset
- frame
- inset
- guide_set (not settable in the layout description)