eclipseswtrcpsplash-screen

Splashscreen ProgressBar in Eclipse RCP has "dirty" corners


I am using the RCP Splash Screen along with the built-in ProgressBar (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.

alt text
(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?


Solution

  • 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);
    

    ?