Community
Participate
Working Groups
The disabled background color is not picked up for CompletionCombo and DatePickerComposite if control is disabled. Might be complicated for DatePickerComposite, but should be implemented for CompletionCombo at least
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.