Layouts

From HLKitWiki
Revision as of 02:42, 16 November 2008 by Rob (Talk | contribs) (New page: Category:Basic Concepts and Terminology [Context: HL Kit … Basic Concepts and Terminology … Visual Building Blocks] Layouts contain one or more visual eleme...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Context: HL KitBasic Concepts and TerminologyVisual Building Blocks]

Layouts contain one or more visual elements, where those visual elements can be templates and certain types of portals. Only portals that have no field association may be used within layouts

and represent a rectangular region within the containing layout. The template is responsible for coordinating the position of its own portals within its boundaries. 

Layouts make it easy to group related visual elements together and position them as a atomic unit. For example, within the d20 System data files, there is a layout that manages the selection of class-specific special abilities, another layout for viewing the special abilities for the class, etc. By using layouts, new edit panels for custom classes can be quickly constructed by combining the appropriate layouts for the separate features of a given class.