Difference between revisions of "SHIP:Property:boxmodel:halign"

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 10: Line 10:
  
 
Allowed values of '''halign''' are:
 
Allowed values of '''halign''' are:
* unset - allowing the {{Prop|box|ot}}/{{Prop|box|ow}}/{{Prop|box|ob}} properties to govern the vertical positioning of the {{Node|box}}.
+
* unset - allowing the {{Prop|box|ol}}/{{Prop|box|ow}}/{{Prop|box|or}} properties to govern the vertical positioning of the {{Node|box}}.
 
* '''LEFT''' - to align the {{Node|box}} to the left edge of the parent's inner area
 
* '''LEFT''' - to align the {{Node|box}} to the left edge of the parent's inner area
 
* '''CENTER''' - to center the {{Node|box}} vertically within the parent's inner area
 
* '''CENTER''' - to center the {{Node|box}} vertically within the parent's inner area
 
* '''RIGHT''' - to align the {{Node|box}} to the right edge of the parent's inner area
 
* '''RIGHT''' - to align the {{Node|box}} to the right edge of the parent's inner area

Revision as of 19:42, 15 January 2013

Node: box

Property Data Type Description
halign HAlign Sets the horizontal alignment a box within its parent container's inner dimensions.

The horizontal alignment (halign) property of the box positions a box within its parent to to the left edge, center, or right edge within the inner area of the parent.

Allowed values of halign are:

  • unset - allowing the ol/ow/or properties to govern the vertical positioning of the box.
  • LEFT - to align the box to the left edge of the parent's inner area
  • CENTER - to center the box vertically within the parent's inner area
  • RIGHT - to align the box to the right edge of the parent's inner area