diff options
author | Veronika Irvine <veronika> | 2002-05-02 20:33:10 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2002-05-02 20:33:10 +0000 |
commit | 8b5d8fa7a1945386617ad792223fcf48b62401f0 (patch) | |
tree | 7a2809fa1646cc7737c0aec184f5a213b5180cd2 | |
parent | dd3f052f2508d8475998291fe8fc896666c441e3 (diff) | |
download | eclipse.platform.swt-8b5d8fa7a1945386617ad792223fcf48b62401f0.tar.gz eclipse.platform.swt-8b5d8fa7a1945386617ad792223fcf48b62401f0.tar.xz eclipse.platform.swt-8b5d8fa7a1945386617ad792223fcf48b62401f0.zip |
fix to showItem for redrawing
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java | 2 |
1 files changed, 2 insertions, 0 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 ecc41cd693..deccdf726c 100755 --- 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 @@ -1560,6 +1560,7 @@ public void showItem (CTabItem item) { if (index < topTabIndex) {
topTabIndex = index;
setItemsLocation();
+ redrawTabArea(-1);
return;
}
Rectangle area = super.getClientArea();
@@ -1573,6 +1574,7 @@ public void showItem (CTabItem item) { while (item.x + item.width > width && index != topTabIndex) {
topTabIndex++;
setItemsLocation();
+ redrawTabArea(-1);
width = areaWidth;
if (scroll_leftVisible() || scroll_rightVisible()) {
width -= scrollWidth;
|