Bug 5366 - TextViewer always has scroll bars
Summary: TextViewer always has scroll bars
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-30 16:20 EST by Joe Szurszewski CLA
Modified: 2002-05-27 18:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Szurszewski CLA 2001-10-30 16:20:01 EST
When a TextViewer is created, if the SWT.V_SCROLL | SWT.H_SCROLL style is 
specified, both scroll bars are always present, whether they need to be or 
not.  For smaller viewers, this takes up a lot of valuable screen real-estate.  
If these styles are not specified, then when scroll bars are needed, they don't 
appear.
Comment 1 Kevin Haaland CLA 2001-10-31 14:45:53 EST
These style bits get passed directly to the widget constructor. Changing 
component to SWT. 
Comment 2 Mike Wilson CLA 2002-05-24 19:38:41 EDT
There was an OS issue which required us to do this. Please comment on 
it, then mark the PR as WONTFIX.
Comment 3 Steve Northover CLA 2002-05-27 18:50:52 EDT
It is the policy of the platform whether scroll bars should be hidden or 
disabled when not needed.