| Summary: | [Text] MULTI Text nolonger show scrollbars | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Chris Fairhall <chris> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | tbuschto |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Reproducible with Controls Demo -> Text Tab in all browsers, but Firefox. Check MULTI, BORDER, WRAP on the Text tab page. Click on "200x100" button. Start typing. In Firefox vertical scrollbar appear as usual, but not in the other browsers. More over, pressing ENTER in WebKit browsers does not insert new line. However, its completely unrelated to V_SCROLL and H_SCROLL. They have no effect in 1.4 or 1.5. This is because overflow on the textarea element is now set to hidden for some reason. Should be easy fix. For the ENTER issue i opend a new Bug 374355. Fixed in CVS HEAD, BasicText.js. |
Build Identifier: rap-runtime-1.5.0-N-20120314-0113 V_SCROLL and H_SCROLL styles nolonger have any effect on Text widgets Reproducible: Always Steps to Reproduce: Run this snippet public class EntryPoint3 implements IEntryPoint { @Override public int createUI() { new Display(); final Shell shell = new Shell(SWT.SHELL_TRIM); shell.setSize(200, 200); Text text = new Text(shell, SWT.BORDER | SWT.V_SCROLL | SWT.MULTI | SWT.WRAP); text.setBounds(50, 50, 100, 105); shell.setVisible(true); return 0; } } Type excess text into the widget and witness the lack of scroll bars appearing