似乎该provisional-label-separation
属性根本不会影响间距。我也尝试过margin-*
, padding-*
, space-before
,space-after
但是列表项之间的空间仍然不会改变。如何在这样的列表中更改列表项之间的垂直空间(我正在渲染为 PDF,如果这有所不同)?
<fo:list-block provisional-distance-between-starts="3mm"
provisional-label-separation="3mm"
space-after="3mm" >
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()" font-size="9pt">
<fo:block>Day care or nanny expenses</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()" font-size="9pt">
<fo:block>Field trips</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()" font-size="9pt">
<fo:block>School supplies</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()" font-size="9pt">
<fo:block>Music lessons and other extracurricular activities</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>