开发者

Splashscreen ProgressBar in Eclipse RCP has "dirty" corners

I am using the RCP Splash Screen along with the built-in Progre开发者_高级运维ssBar (AbsolutePositionProgressMonitorPart). The splash image has a blue background color, but the background of the progressbar seems to be white, which leads to some white corners.

Splashscreen ProgressBar in Eclipse RCP has "dirty" corners

(source: iachelini.de)

There is no "setBackground" on BasicSplashHandler nor does getContent().setBackground(Color) has any noticeable effect. I don't want to be too picky, but since the splash is the first thing you see from the application, I think its very important to be tidy. So, do you have any idea how to get rid of these corners?


Maybe it's not the color of the progress bar. Maybe it is the color of a component behind the progress bar? Have you tried to set the color of the parent components of the bar? Have you tried:

setBackgroundMode(SWT.INHERIT_FORCE);

?


Instead of trying to hack your way through the native component you might want to change the background image. Take an image where the white pixels do not disturb the first impression.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜