| Summary: | [Accessibility]Using Text with SWT.WRAP on Mac causes a additional scrollbar to appear | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | mukundan desikan <mukund> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | kleind, peina | ||||
| Version: | 3.6.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=254476 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 196774 [details]
file properties
Believe there is already a bug for this issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=254476 should be closed as duplicate of 254476 *** This bug has been marked as a duplicate of bug 254476 *** |
Build Identifier: version 362 M20110210-1200 If the SWT Text API is used to create read only label fields, We are seeing some scrollbars towards the end of the text. Happens with SWT 362 and reported seen with SWT 352 as well. public class LabelWrapBug { public static void main(String[] args) { Display display = Display.getDefault(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Composite comp = new Composite(shell, SWT.NONE); comp.setLayout(new FillLayout()); Text label = new Text(shell, SWT.WRAP); label.setEditable(false); label.setText("Represent a non-selectable use interface object that displays a string "); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } Reproducible: Always Steps to Reproduce: Alternative steps 1. Change to Japanese locale on your mac. Logout and Login again. 2. Open Eclipse. 3. Right click any java files in your workspace, and select the "Properties" men