Skip to main content


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 UserFriend
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 UserFriend
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:MultiValidator does not attach to empty IObservableList
Next Topic:isBlockSelectionModeEnabled error on code from jface
Goto Forum:
  


Current Time: Tue Apr 23 12:28:05 GMT 2024

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

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

Back to the top