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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: All Box Model Nodes)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<onlyinclude>{{Prop|boxmodel|pr}}||{{DataType|Dimension}}|| Sets the right padding thickness of a [[SHIP:BoxModel|box model node]]. </onlyinclude>
+
|<onlyinclude>{{Prop|boxmodel|pr}}||{{DataType|Dimension}}|| Right 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 right (pr) property of the box set the right edge padding of the container.  The padding begins inside the innermost pixel of the right border and is exactly the '''pr''' number of pixels thick.   
 
The padding right (pr) property of the box set the right edge padding of the container.  The padding begins inside the innermost pixel of the right border and is exactly the '''pr''' 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:37, 14 June 2015

Node: All Box Model Nodes

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

The padding right (pr) property of the box set the right edge padding of the container. The padding begins inside the innermost pixel of the right border and is exactly the pr 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.