By Date: <-- -->
By Thread: <-- -->

Problems with blank line inside a Table



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
 
 
Title: Untitled Document
there's no text here
there's no text here
there's no text here

 

When I write any thing, this blak lines above appers

I WANT TO REMOVE THIS LINE THAT APPEARS AUTOMATICALLY

When I write any thing, this blak lines above appers

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions