| Summary: | [Button] Text alignment does not work if SWT.WRAP is specified | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sebastian Bauer <mail> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.5 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sebastian Bauer
Created attachment 205482 [details]
Example
Sebastian, in your example you create a button with SWT.WRAP style flag only. In this case, the default text alignment is SWT.LEFT. Nevertheless, with SWT.CENTER style flag specified, it doesn't work too. (In reply to comment #2) > Sebastian, in your example you create a button with SWT.WRAP style flag only. > In this case, the default text alignment is SWT.LEFT. Nevertheless, with > SWT.CENTER style flag specified, it doesn't work too. Yes, I tried SWT.CENTER as well and just forgot to attach the correct example. (In reply to comment #2) > ...the default text alignment is SWT.LEFT. Please, discard this statement. If no align style flag is specified the Button#checkStyle add SWT.CENTER. Fixed in CVS HEAD in MultiCellWidget.js (setting text-align css property) |