Community
Participate
Working Groups
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.
These style bits get passed directly to the widget constructor. Changing component to SWT.
There was an OS issue which required us to do this. Please comment on it, then mark the PR as WONTFIX.
It is the policy of the platform whether scroll bars should be hidden or disabled when not needed.