Project: Eclipse_Platform_UI
Bug 375282 [CSS] Add support for Composite.setBackgroundMode()
Reported: 2012-03-25 21:54:44 | Status: resolved fixed

The E4 Contacts demo's Help > About and Help > Preferences dialogs show a grey band (or whatever the default colour SWT.COLOR_WIDGET_BACKGROUND may be), and the buttons may also show this grey colour too. To avoid this issue requires that the shell or composite have its background-mode set to SWT.INHERIT_DEFAULT or SWT.INHERIT_FORCE. We should have a way to set this value from CSS.

Files changed in fix:
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/custom/CSSBackgroundModePropertyHandler.java tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/tests/css/swt/ShellTest.java