| Summary: | [Theming] Background color is not applied | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Oliver B. <oliver> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | steffen | ||||||
| Version: | 1.4 | ||||||||
| Target Milestone: | 1.4 RC1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
The reason for this issue is the new default background gradient set on Combo/Text by the default theme. As a temporary workaround, reset the Combo/Text CSS background-image property to none in your custom CSS. The workaround with the css backround-image worked. Because of the default background gradient, the background mode does not work for Text/Combo as well. Reproducible with Controls Demo -> Composite tab, change "background mode" radio buttons. Created attachment 195700 [details]
Proposed patch
This patch remove/reset background gradient from the server-side if background color have to be set.
The patch looks good to me. Applied to CVS HEAD. |
Created attachment 195495 [details] Example The background color of Text/Combo is not always applied. The standard css theme value will be used initialy. But when a color is set manually with setBackground the new color will not be applied. The same happens with css-states like read-only. This was tested using the following themes: own custom theme, rap-default and fancy The old classic theme does not have this problem. A small sample dialog is attached. The background of CCombo, DateTime, Label is working. But not for Text/Combo. Tested wird RAP 1.4M7 and HEAD (RWT-standalone). Last tested working version was RAP 1.4M5.