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

Bug 357443

Summary: Cannot set background color of a List widget
Product: [RT] Riena Reporter: Sabine Achilles <achilles.sabine>
Component: Look And FeelAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nobody
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sabine Achilles CLA 2011-09-13 02:49:30 EDT
It is not possible to change the background color of a List widget. It doesn't matter if the LnFUpdater is activated or not.
To reproduce modify ListSubModuleView in the Example Client and try setting: listPersons.setBackground(LnfManager.getLnf().getColor("red")); Nothing changes. Trying the same on e.g. a Table worked without a problem.
At the moment the only working way to change the background color of a List is to set it globally in the LnF.
Comment 1 Nobody - feel free to take it CLA 2012-05-25 07:28:04 EDT
The background is still a property of the _Control_.
This means, that the same control will always keep its background, event when used with another ridget.

Here is a little snippet:

http://git.eclipse.org/c/riena/org.eclipse.riena.git/tree/org.eclipse.riena.sample.snippets/src/org/eclipse/riena/sample/snippets/frombugs/Snippet357443.java
Comment 2 Nobody - feel free to take it CLA 2012-05-25 07:28:51 EDT
The fix is pushed