How do I clear the background of an SWT ExpandBar?
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 bac开发者_Python百科kground 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?
Have you tried this one: Control.setBackgroundImage(Image)?
I don't think this can be done without painting over the controls.
精彩评论