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 188415
Collapse All | Expand All

(-)src/org/eclipse/mylar/internal/tasks/ui/views/TaskListToolTipHandler.java (-1 / +5 lines)
Lines 543-550 Link Here
543
			shellBounds.x = displayBounds.x + displayBounds.width - shellBounds.width;
543
			shellBounds.x = displayBounds.x + displayBounds.width - shellBounds.width;
544
		else
544
		else
545
			shellBounds.x = position.x;
545
			shellBounds.x = position.x;
546
		
547
		if ((position.y + 10 + shellBounds.height) > (displayBounds.y + displayBounds.height))
548
			shellBounds.y = displayBounds.y + displayBounds.height - shellBounds.height;
549
		else
550
			shellBounds.y = position.y + 10;
546
551
547
		shellBounds.y = Math.max(Math.min(position.y + 10, displayBounds.height - shellBounds.height), 0);
548
		shell.setBounds(shellBounds);
552
		shell.setBounds(shellBounds);
549
	}
553
	}
550
554

Return to bug 188415