Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » packing first column of a TableTree
packing first column of a TableTree [message #460065] Sun, 21 August 2005 21:28 Go to next message
Carolyn Duby is currently offline Carolyn DubyFriend
Messages: 30
Registered: July 2009
Member
When the first column of a TableTree is packed, the packing algorithm
doesn't make the column wide enough. The text of some of the indented
rows is cut off. Is this a bug in the TableTree? If so, how can I work
around it?

Thanks
Carolyn
Re: packing first column of a TableTree [message #460174 is a reply to message #460065] Mon, 22 August 2005 14:50 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi Carolyn,

This sounds like a bug, but since TableTree has been deprecated in favour of
using a Tree with TreeColumns (as of 3.1), this will not be addressed.
However, if you change your app to use a Tree with TreeColumns instead of
TableTree then you'll get a proper native Tree (as opposed to a native Table
with a faked hierarchy), and you should not see the problem that you
describe.

Grant

"Carolyn Duby" <carolynd@pathfindermda.com> wrote in message
news:dd24bca88953f7fed71ae7be6b99e370$1@www.eclipse.org...
> When the first column of a TableTree is packed, the packing algorithm
> doesn't make the column wide enough. The text of some of the indented
> rows is cut off. Is this a bug in the TableTree? If so, how can I work
> around it?
>
> Thanks
> Carolyn
>
Re: packing first column of a TableTree [message #460203 is a reply to message #460174] Mon, 22 August 2005 17:04 Go to previous message
Carolyn Duby is currently offline Carolyn DubyFriend
Messages: 30
Registered: July 2009
Member
I am still on a 3.0 platform so I'm not able to use the TreeColumn.
As a workaround, I increased the width of the column by 15 after packing.

Thanks
Carolyn


Grant Gayed wrote:

> Hi Carolyn,

> This sounds like a bug, but since TableTree has been deprecated in favour of
> using a Tree with TreeColumns (as of 3.1), this will not be addressed.
> However, if you change your app to use a Tree with TreeColumns instead of
> TableTree then you'll get a proper native Tree (as opposed to a native Table
> with a faked hierarchy), and you should not see the problem that you
> describe.

> Grant

> "Carolyn Duby" <carolynd@pathfindermda.com> wrote in message
> news:dd24bca88953f7fed71ae7be6b99e370$1@www.eclipse.org...
>> When the first column of a TableTree is packed, the packing algorithm
>> doesn't make the column wide enough. The text of some of the indented
>> rows is cut off. Is this a bug in the TableTree? If so, how can I work
>> around it?
>>
>> Thanks
>> Carolyn
>>
Previous Topic:SWT Browser Extensions and COM Object Disposals in WebSite
Next Topic:Problem with Image class??
Goto Forum:
  


Current Time: Sun Nov 23 07:41:44 GMT 2014

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

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