Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2010-12-01 11:28:06 -0500
committerDani Megert2010-12-01 11:28:06 -0500
commitaf9751e6232940dc5de1046294a166b4a77a2cd9 (patch)
treef5b64a1d17ab8610d9f9826518a1413e2c892ead
parent7ed85416622e823f643bb7ea9f8e3e1bffcec881 (diff)
downloadeclipse.platform.debug-af9751e6232940dc5de1046294a166b4a77a2cd9.tar.gz
eclipse.platform.debug-af9751e6232940dc5de1046294a166b4a77a2cd9.tar.xz
eclipse.platform.debug-af9751e6232940dc5de1046294a166b4a77a2cd9.zip
Fixed bug 331550: BreadcrumbViewer broken when Composite default size is 0,0
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java
index 910b640f5..c62676899 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java
@@ -111,7 +111,7 @@ public abstract class BreadcrumbViewer extends StructuredViewer {
int height= fContainer.getClientArea().height;
if (fGradientBackground == null || fGradientBackground.getBounds().height != height) {
- Image image= createGradientImage(height, event.display);
+ Image image= height == 0 ? null : createGradientImage(height, event.display);
fContainer.setBackgroundImage(image);
if (fGradientBackground != null)

Back to the top