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

Bug 331327

Summary: [CellEditor][Tree] Cell editor is shifted if SWT.CHECK style is used
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: 1.4 M4   
Hardware: All   
OS: All   
Whiteboard:

Description Ivan Furnadjiev CLA 2010-11-29 07:02:00 EST
Reproducible with Examples Demo -> Tree. Activate cell editor in the first column (with double click) in the right TreeViewer. The editor control is shifted with the checkbox width.
Comment 1 Ivan Furnadjiev CLA 2010-11-29 08:17:11 EST
The problem was in TreeItem#getImageBounds method (used by TreeEditor) which added checkbox width twice - once from Tree#getVisualCellLeft and once from Tree#getImageOffset.