Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332710 - [Tree] Broken horizontal scrolling
Summary: [Tree] Broken horizontal scrolling
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 05:00 EST by Tiber Sept CLA
Modified: 2010-12-17 03:05 EST (History)
0 users

See Also:


Attachments
This snippet creates a simple tree widget (1.18 KB, text/x-java)
2010-12-16 05:00 EST, Tiber Sept CLA
no flags Details

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