This is my new cell config: private void applyDefaultCellProps(PdfPCell cell){ cell.setBorder(PdfPCell.NO_BORDER); cell.enableBorderSide(Rectangle.LEFT); cell.enableBorderSide(Rectangle.RIGHT); cell.setPadding(5); cell.setPaddingTop(0); cell.setPaddingBottom(2); cell.setUseAscender(true); cell.setUseDescender(true); }
I also set useAscender/decender(true) to the tables default cell. But still the whole document is cut wrongly. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfPTable-padding-and-spacing-tp2248510p2248628.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/