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

Bug 185529

Summary: horizontal scrollbar missing in owner drawn tree
Product: [Eclipse Project] Platform Reporter: Martin Aeschlimann <martinae>
Component: SWTAssignee: Steve Northover <snorthov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.3   
Target Milestone: 3.3 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 177339    
Attachments:
Description Flags
screenshot none

Description Martin Aeschlimann CLA 2007-05-04 08:26:25 EDT
M7

- enable 'Use colors in labels' on Java > Appearance
- look at the contents of a project in the package explorer:

Horizontal scroll bars are missing.
Comment 1 Martin Aeschlimann CLA 2007-05-04 08:30:25 EDT
Created attachment 65911 [details]
screenshot

Note:
Our code installs a EraseItem and a PaintItem listener, but no MeasureItem listener as the labels we draw have the same measurements as the native labels.
See code at:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/OwnerDrawSupport.java?revision=1.11
Comment 2 Kevin Barnes CLA 2007-05-08 10:11:48 EDT
+1
Comment 3 Steve Northover CLA 2007-05-09 17:51:22 EDT
Fixed > 20070509