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

(-)src/org/eclipse/jface/window/ToolTip.java (-4 / +4 lines)
Lines 371-382 Link Here
371
			}
371
			}
372
372
373
			if (!(bounds.contains(location) && bounds.contains(rightBounds))) {
373
			if (!(bounds.contains(location) && bounds.contains(rightBounds))) {
374
				if (rightBounds.x > bounds.width) {
374
				if (rightBounds.x > bounds.x + bounds.width) {
375
					location.x -= rightBounds.x - bounds.width;
375
					location.x -= rightBounds.x - (bounds.x + bounds.width);
376
				}
376
				}
377
377
378
				if (rightBounds.y > bounds.height) {
378
				if (rightBounds.y > bounds.y + bounds.height) {
379
					location.y -= rightBounds.y - bounds.height;
379
					location.y -= rightBounds.y - (bounds.y + bounds.height);
380
				}
380
				}
381
381
382
				if (location.x < bounds.x) {
382
				if (location.x < bounds.x) {

Return to bug 205872