| Summary: | Disabled background color for CompletionCombo and CCombo | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Christian Campo <christian.campo> |
| Component: | UI | Assignee: | Elias Volanakis <elias> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0.0 | ||
| Target Milestone: | 3.0.0.M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Christian Campo
The problem happens with CCombo and CompletionCombo (DatePickerComposite is ok). The issue is that the implementors of CCombo (extends Composite) override the standard behavior of getChildren() to ALWAYS return an empty array :-(. Correspondigly no painter is added to the actual children of the composite. For CCombo I'll likely add a workaround involving reflection :-(. For CompletionCombo I'll change the implementation. Opened bug 319410 against SWT for CCombo. Added workaround to our code. Resolved in HEAD. One last comment: I think the original description should refer to the native DateTime widget (not DatePickerComposite). The native DateTime does not have a setable background Color - see SWT Bug 222010 since 03/2008. |