Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Auto-resize Table Column listener?
Auto-resize Table Column listener? [message #772509] Fri, 30 December 2011 00:11 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 105
Registered: December 2010
Senior Member
Yes, I've seen the example code on writing a ControlListener to resize table columns when the table is resized.

I'm wondering if anyone has a General Purpose one that can be added to any table, and resize the columns proportionally to their old sizes? (I.e if table gets 10% narrow, it makes each column 10% narrower?)

Seems like one should exist already somewhere...
Re: Auto-resize Table Column listener? [message #772555 is a reply to message #772509] Fri, 30 December 2011 03:19 Go to previous messageGo to next message
Timothy Vogel is currently offline Timothy VogelFriend
Messages: 82
Registered: July 2009
Member
You are looking for ColumnWeightData. Check out http://eclipsenuggets.blogspot.com/2007/11/one-of-less-prominent-novelties-in.html

Hope this helps,
Timothy Vogel
Re: Auto-resize Table Column listener? [message #772568 is a reply to message #772555] Fri, 30 December 2011 04:21 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 105
Registered: December 2010
Senior Member
Thanks, that's exactly what I needed!
Previous Topic:Project Explore/Package Explore question
Next Topic:Sideways tree control?
Goto Forum:
  


Current Time: Wed Sep 25 03:44:24 GMT 2024

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

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

Back to the top