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

Bug 332710

Summary: [Tree] Broken horizontal scrolling
Product: [RT] RAP Reporter: Tiber Sept <tibersept>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 1.4   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
This snippet creates a simple tree widget none

Description Tiber Sept CLA 2010-12-16 05:00:12 EST
Created attachment 185301 [details]
This snippet creates a simple tree widget

The SWT Tree widget does not allow horizontal scrolling when the tree has a single column and the tree item width exceeds the client area width. Tests were performed against RAP 1.4 M3 and CVS HEAD (16.12.2010).
Comment 1 Ivan Furnadjiev CLA 2010-12-16 06:19:25 EST
The problem is in the private method Tree#getCellWidth(int) which returns the width of the client area in case of tree without columns instead of max visible item width. Looking for a proper fix.
Comment 2 Ivan Furnadjiev CLA 2010-12-17 03:05:33 EST
Fixed in CVS HEAD.