开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜