Summary: | ScrollBar works incorrectly with StyledText | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Mikhail Kalugin <mikhail.kalugin> | ||||
Component: | SWT | Assignee: | Kevin Barnes <cocoakevin> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | gheorghe | ||||
Version: | 3.4 | Keywords: | contributed | ||||
Target Milestone: | 3.5 | ||||||
Hardware: | PC | ||||||
OS: | Mac OS X | ||||||
Whiteboard: | |||||||
Attachments: |
|
fixed > 20080602 |
Created attachment 100806 [details] Fix for ScrollBar (setValues() and setEnabled() implementations) Being used with StyledText ScrollBar flashes on every typed char. Also if the document has smaller size than StyledText's height the vertical scroll bar is not disabled. The attached patch provides a fix (the problem was in incorrect implementation of ScrollBat.setValues() and commented out contents of setEnabled()).