| Summary: | Cannot set background color of a List widget | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Sabine Achilles <achilles.sabine> |
| Component: | Look And Feel | Assignee: | 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: | |||
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 The fix is pushed |
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.