Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 97737 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java (-3 lines)
Lines 122-130 Link Here
122
Rectangle computeBounds () {
122
Rectangle computeBounds () {
123
	if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
123
	if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
124
	Rectangle cell = item.getBounds(column);
124
	Rectangle cell = item.getBounds(column);
125
	Rectangle rect = item.getImageBounds(column);
126
	cell.x = rect.x + rect.width;
127
	cell.width -= rect.width;
128
	Rectangle area = tree.getClientArea();
125
	Rectangle area = tree.getClientArea();
129
	if (cell.x < area.x + area.width) {
126
	if (cell.x < area.x + area.width) {
130
		if (cell.x + cell.width > area.x + area.width) {
127
		if (cell.x + cell.width > area.x + area.width) {

Return to bug 97737