diff options
author | Silenio Quarti <silenio> | 2009-03-03 17:37:07 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2009-03-03 17:37:07 +0000 |
commit | 6fe8c15789c81e201133c21ff700043e323df7e0 (patch) | |
tree | 94a8c504ab4d5cd28018c5eb063adf5cd08d0a4e /bundles/org.eclipse.swt | |
parent | c8aed8c7a6eb4441bb1b61dab1d16aea99cff05c (diff) | |
download | eclipse.platform.swt-6fe8c15789c81e201133c21ff700043e323df7e0.tar.gz eclipse.platform.swt-6fe8c15789c81e201133c21ff700043e323df7e0.tar.xz eclipse.platform.swt-6fe8c15789c81e201133c21ff700043e323df7e0.zip |
horizontal scroll bar not drawing properly in code assist when first come in
Diffstat (limited to 'bundles/org.eclipse.swt')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java | 2 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java index 9dab20f9f9..1c1613a8f2 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java @@ -2264,6 +2264,7 @@ boolean setScrollWidth (TableItem item) { int oldWidth = (int)firstColumn.width (); if (oldWidth < newWidth) { firstColumn.setWidth (newWidth); + if (horizontalBar != null && horizontalBar.view != null) redrawWidget (horizontalBar.view, false); return true; } return false; @@ -2291,6 +2292,7 @@ boolean setScrollWidth (TableItem [] items, boolean set) { if (oldWidth >= newWidth) return false; } firstColumn.setWidth (newWidth); + if (horizontalBar != null && horizontalBar.view != null) redrawWidget (horizontalBar.view, false); return true; } diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java index 56f3dcdaa1..cfa2667bda 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java @@ -2367,6 +2367,7 @@ boolean setScrollWidth (boolean set, TreeItem[] items, boolean recurse) { if (oldWidth >= newWidth) return false; } firstColumn.setWidth (newWidth); + if (horizontalBar != null && horizontalBar.view != null) redrawWidget (horizontalBar.view, false); return true; } @@ -2381,6 +2382,7 @@ boolean setScrollWidth (TreeItem item) { int oldWidth = (int)firstColumn.width (); if (oldWidth < newWidth) { firstColumn.setWidth (newWidth); + if (horizontalBar != null && horizontalBar.view != null) redrawWidget (horizontalBar.view, false); return true; } return false; |