wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes SWT table.pack() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT table.pack()" Watch "SWT table.pack()" New topic
Author

SWT table.pack()

Jonathan Smiths
Greenhorn

Joined: Jan 29, 2010
Posts: 14
I am trying to create a table object with two columns.
The table should be flexible in width, based on the width of the contents of it.
I do this using column.pack() and table.pack().
However, the table never "really" packs, there is always some space right to the second column.
Also there is some space below the lowest table item, about the size of half an item.
I can not use fixed width for the table. How can I get rid of that extra space on the right side and the bottom?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT table.pack()
 
Similar Threads
Is there a plugin available (e.g. jquery etc) to achieve this functionality?
how to correctly align two tables?
Same CSS rule for td width works for Firefox, but does not work for IE
Displaying JTable Column names in the GUI
Space not releasing on toggle of divs