Padding is the amount of space between the border and the content area.
diagram of <diputree> with padding
<diputree> <haspadding> <offset> <hasorigin> <top/> <bottom/> <left/> <right/> </hasorigin> <hasdistance> <pixelcount> <i>0</i> </pixelcount> </hasdistance> </offset> </haspadding> <has> <b> <lt>no padding!</lt> </b> </has> </diputree> |
<diputree>
the haspadding relation between diputree and the offset
<haspadding>
<offset>
the hasorigin relation between the offset and top, bottom, left and right (compressed)
<hasorigin>
<top/>
<bottom/>
<left/>
<right/>
</hasorigin>
the hasdistance relation between the offset and the pixelcount
<hasdistance>
<pixelcount>
<i>0</i>
</pixelcount>
</hasdistance>
</offset>
</haspadding>
<has>
<b>
<lt>no padding!</lt>
</b>
</has>
</diputree>