| Summary: | [Button] Support markup in button text | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ingo Meyer <ingo.meyer> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 3.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
Ingo, the new-line character '\n' is supported on check/radio buttons text (with style SWT.WRAP) for new line splitting. Is this the only need for markup support? See also bug 425966. Ivan, no my example was then a little bit misleading... sorry. What I want to achieve is a wizard page with radio buttons with a bold text, an empty line and then a multiline description in small italic letters, like: "<strong>Option 1</strong><br/><br/><small><i>With this option you can bla bla bla<br/>bla bla bla...</i></small>" Implemented in master with change https://git.eclipse.org/r/32701 |
I need to use styled text with the right-side label of a radio or checkbox button with RWT.MARKUP_ENABLED (via button-setText("Hello<br/>World"). Is this possible?