View | Details | Raw Unified | Return to bug 273569
Collapse All | Expand All

(-)org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/TableEditor.java (-2 / +4 lines)
Lines 111-118 Link Here
111
	if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
111
	if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0);
112
	Rectangle cell = item.getBounds(column);
112
	Rectangle cell = item.getBounds(column);
113
	Rectangle rect = item.getImageBounds(column);
113
	Rectangle rect = item.getImageBounds(column);
114
	cell.x = rect.x + rect.width;
114
	if (rect.width > 0) {
115
	cell.width -= rect.width;
115
		cell.width -= rect.width + rect.x - cell.x;
116
		cell.x = rect.x + rect.width;
117
	}
116
	Rectangle area = table.getClientArea();
118
	Rectangle area = table.getClientArea();
117
	if (cell.x < area.x + area.width) {
119
	if (cell.x < area.x + area.width) {
118
		if (cell.x + cell.width > area.x + area.width) {
120
		if (cell.x + cell.width > area.x + area.width) {

Return to bug 273569