| Summary: | [Link] Link ignores newlines | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ralf Sternberg
Ralf, neither SWT.WRAP javadoc nor Link javadoc state that Link widget supports SWT.WRAP style flag.... at least on Windows. Forms Hyperlink widget is the one that supports SWT.WRAP style flag. (In reply to comment #1) > Ralf, neither SWT.WRAP javadoc nor Link javadoc state that Link widget supports > SWT.WRAP style flag.... at least on Windows. Forms Hyperlink widget is the one > that supports SWT.WRAP style flag. Right, I missed this. That means in contrast to a Label, a Link *always* wraps. Anyway, the SWT Link respects newlines, so the RWT Link should do so as well. Fixed in CVS HEAD by replacing new lines with <br/> in LinkAdapter.js. |