I've created a simple Table and set the spacing to 5. I'm getting 5 between the cells and the border, but 10 between the cells themselves. This sort of makes sense, as each cell has its own spacing and so adjacent cells have double spacing between them, but it looks strange (and isn't how HTML tables behave, IIRC.) Is this the expected behavior?

So then I switched to PdfPTable... and it does not seem to have spacing at all. I found a message in the list archives saying to use a nested table to get the effect of cell spacing, but that doesn't do quite the same thing-- Table spacing gives a windowpane effect, of floating boxes inside a larger box. PdfPTables within PdfPTables is _first_ a grid, and then an inner border on the cell. Example:

       http://members.cox.net/~wendywds/etc/tablespacing.pdf

Is there a way to get even spacing with Table, or does anyone have examples of fancy PdfPTable layouts to share?

How do you turn off the 'border' on PdfPTable? If I could get the internal gridlines to go away, and leave the rectangle border around the entire table, it would look like I want it to.

Thanks,
Wendy Smoak





------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to