Layout Terminology

From wiki
Revision as of 18:15, 30 March 2007 by FosterBrereton (Talk | contribs)

Jump to: navigation, search

This is the layout behavior specifications for the default set of ASL widgets.

Related Structures

Layout Unit 
Interval Range 

General Layout Attributes

Container Attributes

(default: 0) The amount of space between the leftmost (or topmost) widget and the end of the left (or top) margin.
(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.
(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)

Specific Layout Attributes (by widget)


Leaf Widgets