• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

IText Problem with left and right spacing while creating nested tables  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friend,
I am using IText version 5 and I am trying to create a nested table but it always leaves space to the left and right even after calling the method cell.settPadding(0)
My final solution has been to set cell padding to a negative value... c1.setPaddingLeft(-27);

This has solved the issue only to an extent
But there is still spacing left at the right.
Moreover, setting padding to negative value seems less than satisfactory solution.
Filename: newImg.bmp
Description: Image of pdf after setting padding negative
File size: 1 megabytes
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!