Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352428 - [Tree] Custom foreground is lost if item is selected
Summary: [Tree] Custom foreground is lost if item is selected
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 05:26 EDT by Ivan Furnadjiev CLA
Modified: 2011-07-27 11:03 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 2011-07-19 05:26:31 EDT
Steps to reproduce:
1. Start Controls Demo -> Tree tab
2. Select the checkbox "Custom foreground on 1st item"
Nothing changes on the tree. I expect that the columns different than the first (with selection) will have this custom foreground on the first item.
3. Change the selection to other item - custom foreground appears.
Note that custom background works.
Comment 1 Tim Buschtoens CLA 2011-07-27 11:02:50 EDT
Fixed in CVS HEAD. Missed one argument in TreeRow.js#_renderCells.