SHIP:Property:boxmodel:halign

From Serious Documentation
Revision as of 19:38, 15 January 2013 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Node: box

Property Data Type Description
halign VALIGN 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