diff --git a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java index 8f656fffa9d..3c199ddbed2 100644 --- a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java +++ b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/Workbench.java @@ -820,8 +820,14 @@ public void run() throws Exception { if (splashShell == null) return; - if (background != null) + if (background != null) { splashShell.setBackgroundImage(background); + Rectangle imageBounds = background.getBounds(); + Rectangle shellBounds = splashShell.getBounds(); + if (imageBounds.width > shellBounds.width || imageBounds.height > shellBounds.height) { + splashShell.setSize(imageBounds.width, imageBounds.height); + } + } } Dictionary properties = new Hashtable<>();