Bug 231502 [Forms] TableWrapLayout and makeColumnsEqualWidth
Build ID: I20080502-0100 Steps To Reproduce: 1. Create Shell with TableWrapLayout, 2 columns, with makeColumnsEqualWidth = true; 2. Add two Button's, second Button has long text, so its column is wide. 3. As I read JavaDoc for makeColumnsEqualWidth, two columns should have same width. But it is not. 4. But when you shrink with of Shell window, first column at last becomes same width as second (wide) column! Looks not consistent. More information:
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/TableWrapLayout.java
/*******************************************************************************
 *  Copyright (c) 2000, 2010 IBM Corporation and others.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http:www.eclipse.org/legal/epl-v10.html
 * 
 *  Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.forms.widgets;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
/**
 * This implementation of the layout algorithm attempts to position controls in
 * the composite using a two-pass autolayout HTML table algorithm recommended by
 * HTML 4.01 W3C specification (see
 * http:www.w3.org/TR/html4/appendix/notes.html#h-B.5.2.2). The main
 * differences with GridLayout is that it has two passes and that width and
 * height are not calculated in the same pass.
 * <p>
 * The advantage of the algorithm over GridLayout is that it is capable of
 * flowing text controls capable of line wrap. These controls do not have
 * natural 'preferred size'. Instead, they are capable of providing the required
 * height if the width is set. Consequently, this algorithm first calculates the