[reportlab-users] Two Images next to each other
andy at reportlab.com
Tue Apr 15 05:11:20 EDT 2014
Why "without tables"? A table is exactly the proper way to line
things up next to each other...
There is a general "tables are evil" meme circulating which came from
the CSS world and the desire to have responsive layouts which
resize/reshuffle as browsers shrink. But paper has a known size.
Just make a table style with no borders and it becomes very easy.
On 15 April 2014 10:04, Tobias Greitzke <tobias.greitzke at togis.com> wrote:
> I need to put a bunch of images at the end of a document where I want to
> place the images left to right next to each other.
> I use platypus to build the pdf and so far I managed to put them in a two
> column frame with ParagraphAndImage. But unfortunately that's not what I
> need. I want them left to right and not like in the two column frame top to
> bottom. Also I would like to put a text under each image. This is what I got
> so far:
> Is there a proper way to do this without tables? I'm thinking of something
> like a 50% frame that holds the Image and a Paragraph after each and then is
> placed as a flowable into the document. But I can't figure out how to do
> Can anyone give me a hint?
> tog.is - information design
> Tobias Greitzke
> Johannes-Mynsinger-Weg 18
> 89075 Ulm
> Tel: +49 (0)731 / 509 4567
> Fax: +49 (0)731 / 509 4568
> Mobil: +49 (0)163 / 632 32 60
> Skype: tobias.greitzke
> tobias.greitzke at togis.com
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
ReportLab Europe Ltd.
Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
More information about the reportlab-users