Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 434835

Summary: [Tree][Template] Expander missing when no TreeColumn.setWidth
Product: [RT] RAP Reporter: László Erős <eroslaci007>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: unspecified   
Target Milestone: 2.3 RC2   
Hardware: All   
OS: All   
Whiteboard:

Description László Erős CLA 2014-05-14 06:33:34 EDT
The bug: 

Create a TreeViewer with RowTemplate and a TreeColumn without the setWidth property.

When the tree rendered, there are no expander for the items. (There are no expander div in the HTML DOM also)

If you set treeColumn.setWidth(XX), the expander shows.







Re: TreeViewer RowTemplate Expander missing [message #1354396 is a reply to message #1352767] 	Wed, 14 May 2014 04:33 Go to previous message
Tim Buschtoens
	
Okay, I figured it out, and it's rally a bug. I hope we can fix it in
time for the 2.3 release. Please open a bug report.

Am 13.05.2014 18:16, schrieb László Erős:
> Hello again!
>
> I found the bug! Good news, its working, bad news, if you dont set the
> width of the TreeColumn, the expander not shown!
>
> so:
>
> expander shown:
>
> TreeColumn treeColumn = new TreeColumn(tree, SWT.NONE);
> treeColumn.setWidth(150);
>
>
> Expander not shown:
>
> TreeColumn treeColumn = new TreeColumn(tree, SWT.NONE);
>
>
>
> Please confirm the bug.

-- 
Tim Buschtöns
Comment 1 Ivan Furnadjiev CLA 2014-05-26 10:24:56 EDT
Fixed with change https://git.eclipse.org/r/27099
Comment 2 László Erős CLA 2014-05-26 10:25:57 EDT
Thanks