[reportlab-users] Is borderPadding supposed to do this?
ralsina at netmanagers.com.ar
Fri May 29 10:49:40 EDT 2009
On Friday 29 May 2009 11:41:06 Paul Barrass wrote:
> Roberto Alsina wrote:
> > Trying this program:
> > <snip>
> > I expected to see two largish paragraphs in ugly colours, with big
> > padding, one below the other.
> > What I got was the second paragraph drawn over the first one.
> The borders on Paragraphs don't take up space in the flow of the
> document - you'll need to make the Paragraph bigger - adding
> spaceBefore=40 to the ParagraphStyle might make the script produce what
> you were expecting.
Not really :-(
If I put spaceBefore 40 and spaceAfter 40, the paragraphs still overlap,
because the space in the middle is merged.
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)
"Our opponent is an alien starship packed with atomic bombs, I said.
We have a protractor. Okay, I’ll go home and see if I can scrounge up a
ruler and a piece of string." — Neal Stephenson
More information about the reportlab-users