I create a table and I set the widths of the columns in this way: [code] Table tabella = new Table(4); tabella.setWidth(100); tabella.setBorderColor(Color.BLACK); tabella.setWidth(100); int larghezze[]={10,10,10,70}; tabella.setWidths( larghezze); tabella.getDefaultCell().setHorizontalAlignment(tabella.ALIGN_CENTER); tabella.addCell(new Phrase("DOCENTE",h2)); tabella.addCell(new Phrase("CORSO",h2)); tabella.addCell(new Phrase("ANNO",h2)); tabella.addCell(new Phrase("SEMESTRE",h2)); [/code] and then I put it on the document in order to save it using the HtmlWriter; but then when I open the saved file the columns have another dimensions...how could I fix this? -- View this message in context: http://www.nabble.com/Wrong-columns-width-tp19272419p19272419.html Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php