Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 394080

Summary: [DateTime] Unable to change the foreground programmatically
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ivan Furnadjiev CLA 2012-11-12 06:10:06 EST
Use Controls Demo -> DateTime tab to reproduce it. The click on the "Foreground" button changes the color only for "," and ":".
Comment 1 Tim Buschtoens CLA 2012-11-15 06:46:47 EST
Like with bug 394083, the programatically set colors would have to be applied by inheritance, and the colors of the textfields are not set to "inherit".

See "datetime-field" appearance in DateTime.appearance.js:

        result.textColor = tv.getCssColor( "*", "color" );
Comment 2 Ivan Furnadjiev CLA 2013-05-06 12:13:19 EDT
Fixed with commit 14cb002ef668c72e463e73673140ad45da7629e0.