width += parent.getMargin (index);
if ((parent.style & SWT.VERTICAL) != 0) { height += parent.getMargin (index); } else { width += parent.getMargin (index); }
public Point computeSize (int wHint, int hHint) {	checkWidget ();	int index = parent.indexOf (this);	if (index == -1) return new Point (0, 0);	int width = wHint, height = hHint;	if (wHint == SWT.DEFAULT) width = 32;	if (hHint == SWT.DEFAULT) height = 32;	width += parent.getMargin (index);	return new Point (width, height);}