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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|box|pt}}||{{DataType|Dimension}}|| Sets the top padding thickness of the {{Node|box}}. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|pt}}||{{DataType|Dimension}}|| Sets the top padding thickness of the {{Node|box}}. </onlyinclude>
 
|}
 
|}
 
The padding top (pt) property of the box set the top edge padding of the container.  The padding begins inside the innermost pixel of the top border and is exactly the '''pt''' number of pixels thick.   
 
The padding top (pt) property of the box set the top edge padding of the container.  The padding begins inside the innermost pixel of the top border and is exactly the '''pt''' number of pixels thick.   
  
 
Inside the padding is the final inner area of the container where child objects (including other {{Node|box}}es) can exist.  Child objects inside the inner area are clipped visually to the inner area, and the location (0,0) is the upper left corner of this inner area.
 
Inside the padding is the final inner area of the container where child objects (including other {{Node|box}}es) can exist.  Child objects inside the inner area are clipped visually to the inner area, and the location (0,0) is the upper left corner of this inner area.

Revision as of 07:43, 21 January 2013

Node: box

Property Data Type Description
pt Dimension Sets the top padding thickness of the box.

The padding top (pt) property of the box set the top edge padding of the container. The padding begins inside the innermost pixel of the top border and is exactly the pt number of pixels thick.

Inside the padding is the final inner area of the container where child objects (including other boxes) can exist. Child objects inside the inner area are clipped visually to the inner area, and the location (0,0) is the upper left corner of this inner area.