| Summary: | [CCombo] drop-down list is transparent | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | 1.2 | ||||||||||
| Target Milestone: | 1.3 M1 | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Rüdiger Herrmann
Created attachment 140878 [details]
Screenshot of transparent drop-down list
Apparently the backgroundMode of the composite that contains the combo is set to INHERIT_FORCE Created attachment 140962 [details]
Proposed fix
The background color of the combo is set null, list-background is set to the theme default value instead.
Created attachment 140986 [details]
Another proposed fix
Rüdiger, your patch would not support widget variants, since the states object passed to the ThemeValues contructor is always empty. The current implementation also does not support variants, which is another issue (states are not propagated to sub widgets). Anyway, I think that variants should be supported and therefore I'll attach a slightly different version of your patch that does so.
This patch resets the background color for the drop-down list and lets the value from the Appearance "(c)combo-list" take precedence.
Applied the second patch to CVS HEAD |