tags:

views:

101

answers:

2

The default background of an ExpandBar in SWT appears to be a gradient of whichever color the operating system is using.

However, when I change the background of an ExpandBar in SWT, the controls switch to the Windows Classic style.

Is there a way to set the background of the ExpandBar without reverting to the Windows Classic look?

A: 

Have you tried this one: Control.setBackgroundImage(Image)?

Gabriel Ščerbák
Nope, this doesn't work.
juan2raid
A: 

I don't think this can be done without painting over the controls.

juan2raid