Sure, my report is basically two columns each containing multiple
boxes stacked one on top of the other. Each box contains information
about a course that the student has taken (name, grade, comments,
etc.). So on any one page there could be 5-6 variable sized boxes,
2-3 in each column. Something like this:
------------ -------------
| Name | | Name |
| Grade | | Grade |
| Comments | | Comments |
| | | |
------------ -------------
------------ -------------
| Name | | Name |
| Grade | | Grade |
| Comments | | Comments |
| | -------------
------------ -------------
------------ | Name |
| Name | | Grade |
| Grade | | Comments |
| Comments | -------------
| Comments |
| |
------------
Instead of trying to stack them up and position them manually I
thought I could make use of the column_box function. But it appears
as if that function only works with text objects and not table
objects. :( I took a look at the source code but I'm afraid I'm not
a good enough Ruby developer to understand it all.
I hope that helps a bit.
Thanx!
Richard
BTW: I've opened a new issue (
http://github.com/sandal/prawn/
issues#issue/11) for this problem.