On Sat, 2021-01-02 at 21:53 +0000, Kirkilis, John (Nokia - US/Austin)
wrote:
> Hello,
> 
> I made a feeble attempt to put borders on fo:blocks with different
> colors to help identify which blocks were contributing to adjacent
> vertical white space areas, but the border itself would take up
> vertical space and shift the content below it down. If several blocks
> had borders, then the cumulative displacement was pronounced.
> 
> Are there any border attribute settings that would mitigate this
> effect?
> 
> Are background colors a better way to go?
> 
> Ideally, it would be great of FOP had such an option to show various
> kinds of object boundaries without disturbing the placement of
> objects.

When I was debugging similar issues I used a combination of borders and
background colors. I don't remember the borders adding space, but I
also wasn't worried about what was below the elements that I added
borders to. The background colors is an easy way to debug layout issues
as well. I've used this in FOP as well as GUIs.



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to