| Summary: | [Text] computeSize returns smaller width for text with styles SWT.MULTI | SWT.BORDER | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.4 M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ivan Furnadjiev
This is only a FF issue - tested with FF 3.6.12. Created attachment 183595 [details]
Screenshot
Due to bug 253644, the padding for MULTI text is hard coded in AppearanceBase.js. There, if BORDER style is set, additional pixel is added to the left padding (increase from 3 to 4). I don't remember why this was needed, but with the current CVS HEAD this special treatment of BORDER is not needed. Tested with FF, IE, Chrome and Safari. |