TLF has 4 padding properties:
paddingBottom. In TLF 1.0 the padding properties only applied to
ContainerController objects. The effective padding on each side of each container is the sum of the two paddings.
TLF 2.0 adds additional support for padding on
InlineGraphicElements as well as the new list related elements
ListItemElement. Each element will have a padding specified inset around it.
During import of TLF markup padding properties are ignored on these additional classes unless the attribute
version="2.0.0" is specified on the
TextFlow tag. The goal is that existing markup won’t render differently if padding properties were specified on elements that didn’t implement padding in 1.0.
The padding properties don’t inherit by default. If not specified they have their default value. In 1.0 and 1.1 the default value was
"0". In TLF 2.0 this default value is
"auto". For all elements except
"auto" is interpreted as
ListElements "auto" is
"0" except on the start side of the list where the value of the new
listAutoPadding property is used. The default value of
listAutoPadding is 40. This was done to give lists a default indent.
The following markup creates a list with the marker placed outside the box of the ListItem.
<TextFlow><list><li>First list item</li></list></TextFlow>
listAutoPadding the list item would have no padding and the marker would be to the left of the clip and would not be visible. TLF 2.0 applies the
listAutoPadding to the start side and indents the list 40 pixels and places the outside marker in the visible area to the left side of the indentation.