Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325741 - [List][Table][Tree] setForeground does not work
Summary: [List][Table][Tree] setForeground does not work
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 08:11 EDT by Ivan Furnadjiev CLA
Modified: 2010-10-11 11:44 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Furnadjiev CLA 2010-09-20 08:11:53 EDT
Steps to reproduce:
1. Start Controls Demo -> List tab
2. Change the forground by "Foreground" button
3. No change at all, but the javascript has been rendered:
var wm = org.eclipse.swt.WidgetManager.getInstance();
var w = wm.findWidgetById( "w100" );
w.setTextColor( "#f99e00" );
var w = wm.findWidgetById( "w101" );
w.setTextColor( "#f99e00" );
Reproducible with 1.3.1 maintenance and CVS HEAD, FF, IE8, Chrome, Safari.
Comment 1 Ivan Furnadjiev CLA 2010-10-11 11:36:58 EDT
This issue is valid for Table and Tree too. Introduced with the new default theme in Table and Tree. List-Item, TreeItem and TableItem "color" property is set in default CSS to specific color instead of "inherit". Solution is to set it to "inherit".
Comment 2 Ivan Furnadjiev CLA 2010-10-11 11:44:54 EDT
Fixed in CVS HEAD.