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

From Serious Documentation
Jump to: navigation, search
(Created page with "=== Node: {{Node|box}} === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" | Description |- |<onlyinc...")
 
(Node: {{Node|box}})
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|box|halign}}||{{DataType|VALIGN}}|| Sets the horizontal alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
+
|<onlyinclude>{{Prop|box|halign}}||{{DataType|HAlign}}|| Sets the horizontal alignment a {{Node|box}} within its parent container's inner dimensions. </onlyinclude>
 
|}
 
|}
 
The horizontal alignment (halign) property of the {{Node|box}} positions a {{Node|box}} within its parent to to the left edge, center, or right edge within the inner area of the parent.
 
The horizontal alignment (halign) property of the {{Node|box}} positions a {{Node|box}} within its parent to to the left edge, center, or right edge within the inner area of the parent.

Revision as of 19:39, 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 ot/ow/ob 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