Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331327 - [CellEditor][Tree] Cell editor is shifted if SWT.CHECK style is used
Summary: [CellEditor][Tree] Cell editor is shifted if SWT.CHECK style is used
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 07:02 EST by Ivan Furnadjiev CLA
Modified: 2010-11-29 08:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.