Hello
I have one table that, whenever I write a Phase in a cell inside a Table it adds a blank line between this text and the top border!
Before you ask me, there is no "\n" inside the String I'm using to creat a Prase Object and I'm not using Cell.setRowspan.
This here the code I'm using to creat a table:
Table tabela = new Table(1);
tabela.setBorderWidth(1);
tabela.setBorderColor(new Color(255, 255, 255));
tabela.setAutoFillEmptyCells(true);
tabela.setCellsFitPage(true);
tabela.setTableFitsPage
(true);
tabela.setWidths({100});
tabela.setPadding(1);
tabela.setSpacing(1);
He's the cell
Paragraph texto = new Paragraph( "Test", font);
Cell cell = new Cell(texto);
cell.setBorder(Rectangle.NO_BORDER);
cell.setHorizontalAlignment(Cell.ALIGN_LEFT);
To ilustrate the situation, I'm sending a example of ths problem in attach.(Example.html)
Can you please tell me how can I remove this blank space?! The solution that I need is something like a "vertical split" (I know there's no such thing...just to give a example)
Give a sample code if possible
Thanks in advance
Gilson