Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-08-16 19:31:42 +0000
committerSilenio Quarti2012-08-16 19:31:42 +0000
commitff2e16dcdfe0ebe080297210ab6d96ad152aea53 (patch)
treea4dea30f4c0e80feb095021fc6f0de77ee9be7f9
parent05e29d55251d3bc1a99b91928c6fd6baa2f30c64 (diff)
downloadeclipse.platform.swt-ff2e16dcdfe0ebe080297210ab6d96ad152aea53.tar.gz
eclipse.platform.swt-ff2e16dcdfe0ebe080297210ab6d96ad152aea53.tar.xz
eclipse.platform.swt-ff2e16dcdfe0ebe080297210ab6d96ad152aea53.zip
Bug 378000 - AIOOBE in new CTabFolder on startupv4234c
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
index 1f0716f728..2f0c3559ef 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
@@ -2459,8 +2459,8 @@ void setButtonBounds(GC gc) {
if (overflow[0][i]) {
controls[i].setBounds(rects[i]);
} else {
- controls[i].setBounds(rects[i].x, rects[i].y, rects[i].width, headerHeight);
controls[i].moveAbove(null);
+ controls[i].setBounds(rects[i].x, rects[i].y, rects[i].width, headerHeight);
}
if (!changed && !rects[i].equals(controlRects[i])) changed = true;
}

Back to the top