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

(-)src/org/eclipse/draw2d/GridLayout.java (-1 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2007 IBM Corporation and others.
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 197-202 Link Here
197
			size.width = wHint;
197
			size.width = wHint;
198
		if (hHint != SWT.DEFAULT)
198
		if (hHint != SWT.DEFAULT)
199
			size.height = hHint;
199
			size.height = hHint;
200
		
201
		/*
202
		 * Adjust for the size of the border
203
		 */
204
		size.expand(container.getInsets().getWidth(),
205
				container.getInsets().getHeight());
206
		size.union(getBorderPreferredSize(container));		
200
207
201
		return size;
208
		return size;
202
	}
209
	}

Return to bug 226172