Commit 83d9313
Guard clipping to avoid resize artifacts in tree viewer
Setting the clipping region temporarily to the textBounds was originally added (https://bugs.eclipse.org/bugs/show_bug.cgi?id=291245 comment 25) to prevent images
from being overdrawn when implementting RIGHT or CENTER column alignment support in StyledCellLabelProvider. However, enabling
clipping causes artifact lines during tree resizing, as a temporary workaround the clipping call is
now guarded and applied only in those alignment cases to avoid issues with resizing of columns.1 parent 32d98a1 commit 83d9313
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.jface/src/org/eclipse/jface/viewers
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
0 commit comments