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 223327 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jface/text/hyperlink/MultipleHyperlinkPresenter.java (-1 / +3 lines)
Lines 180-192 Link Here
180
			int width;
180
			int width;
181
			if (preferedSize.y - scrollBarHeight < constraints.y) {
181
			if (preferedSize.y - scrollBarHeight < constraints.y) {
182
				width= preferedSize.x - scrollBarWidth;
182
				width= preferedSize.x - scrollBarWidth;
183
				fTable.getVerticalBar().setVisible(false);
183
			} else {
184
			} else {
184
				width= Math.min(preferedSize.x, constraints.x);
185
				width= Math.min(preferedSize.x, constraints.x);
185
			}
186
			}
186
			
187
			
187
			int height;
188
			int height;
188
			if (preferedSize.x - scrollBarWidth < constraints.x) {
189
			if (preferedSize.x - scrollBarWidth < constraints.x) {
189
				height= preferedSize.y - scrollBarHeight;
190
				height= preferedSize.y - scrollBarHeight - 1;
191
				fTable.getHorizontalBar().setVisible(false);
190
			} else {
192
			} else {
191
				height= Math.min(preferedSize.y, constraints.y);
193
				height= Math.min(preferedSize.y, constraints.y);
192
			}
194
			}

Return to bug 223327