Project: Eclipse_Platform_UI
Bug 303328 [UI] CSS styling broken in the contacts demo
Reported: 2010-02-19 10:45:20 | Status: resolved fixed

The removal of the ETabFolder has resulted in a serious regression in the styling for the contacts demo; most notably that the text doesn't change, leaving the 'dark' style with black text on a slightly less black background. Angelo Zerr has looked into it and posted: I have seen problem with SWT Label and to correct the problem you must add this code at end of methode applyCSSPropertyColor of the class CSSPropertyTextSWTHandler: else if (widget instanceof Control) { ((Control) widget).setForeground(newColor); } (thanks a lot!)

Files changed in fix:
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/css2/CSSPropertyTextSWTHandler.java