Bug 18733 ControlExample: List widget not being resized properly
Build F1 (and F2 too) Steps: 1) Start ControlExample 2) Choose the "List" tab 3) Click on "Set Font" and choose a smaller font (manually type in a size if necessary -- you need to do this to get anything smaller than 8 pt in Win32) 4) Click on "Preferred" radio button, even though it's already selected 5) Uncheck "SWT.H_SCROLL" 6) Notice that the List widget gets bigger 7) Check "SWT.H_SCROLL" 8) Notice that the List widget gets even bigger
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java
public void widgetSelected (SelectionEvent event) {
				if ((event.widget.getStyle () & SWT.RADIO) != 0) {
					if (!((Button) event.widget).getSelection ()) return;
				}
				recreateExampleWidgets ();
			};
		};
		Control [] children = styleGroup.getChildren ();
		for (int i=0; i<children.length; i++) {
			if (children [i] instanceof Button) {
				Button button = (Button) children [i];
				button.addSelectionListener (selectionListener);
			}
		}
	}
	
	/**
	 * Creates the "Control" widget children.
	 * Subclasses override this method to augment
	 * the standard controls created in the "Style",
	 * "Display" and "Size" groups.
	 */
	void createControlWidgets () {
	}
	
	/**
	 * Creates the "Color" group. This is typically
	 * a child of the "Control" group. Subclasses override
	 * this method to customize and set system colors.
	 */