Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » auto-sizing column width?
auto-sizing column width? [message #487635] Wed, 23 September 2009 20:11 Go to next message
Eclipse User
Originally posted by: yoduderoo.netscape.net

I have a jface tableviewer and would like that the columns size their
width depending on the width of the longest element in the column. Is
there a way to do this?
Thanks,y
Re: auto-sizing column width? [message #487683 is a reply to message #487635] Thu, 24 September 2009 07:10 Go to previous message
Eclipse User
Originally posted by: TheRealHawk.Freenet.de

The only way I know is to call pack() for each Column.

Markus

"Yodude" <yoduderoo@netscape.net> schrieb im Newsbeitrag
news:h9dve9$uvv$1@build.eclipse.org...
>I have a jface tableviewer and would like that the columns size their width
>depending on the width of the longest element in the column. Is there a way
>to do this?
> Thanks,y
Previous Topic:How To Set Size For InputDialog Properly
Next Topic:TreeViewer: cancelling expansion
Goto Forum:
  


Current Time: Tue Sep 16 17:45:07 GMT 2014

Powered by FUDForum. Page generated in 0.04804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software