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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: All Box Model Nodes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Node: {{Node|box}} ===
+
=== Node: All [[SHIP:BoxModel|Box Model Nodes]] ===
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|boxmodel|pt}}||{{DataType|Dimension}}|| Sets the top padding thickness of a [[SHIP:BoxModel|box model node]]. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|pt}}||{{DataType|Dimension}}|| Top padding thickness of a {{Node|box}}; not present on lightweight [[SHIP:BoxModel|box model nodes]] such as {{Node|frame}} and {{Node|textframe}}.</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.

Latest revision as of 17:39, 14 June 2015

Node: All Box Model Nodes

Property Data Type Description
pt Dimension Top padding thickness of a box; not present on lightweight box model nodes such as frame and textframe.

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.