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
void createColorGroup () {
		
		colorGroup = new Group(controlGroup, SWT.NULL);
		colorGroup.setLayout (new GridLayout (2, false));
		colorGroup.setLayoutData (new GridData (GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL));
		colorGroup.setText (ControlExample.getResourceString ("Colors"));
		new Label (colorGroup, SWT.NONE).setText (ControlExample.getResourceString ("Foreground_Color"));
		foregroundButton = new Button (colorGroup, SWT.PUSH);
		new Label (colorGroup, SWT.NONE).setText (ControlExample.getResourceString ("Background_Color"));
		backgroundButton = new Button (colorGroup, SWT.PUSH);
		fontButton = new Button (colorGroup, SWT.PUSH);
		fontButton.setText(ControlExample.getResourceString("Font"));
		
		Shell shell = backgroundButton.getShell ();
		final ColorDialog backgroundDialog = new ColorDialog (shell);
		final ColorDialog foregroundDialog = new ColorDialog (shell);
		final FontDialog fontDialog = new FontDialog (shell);
		
		int imageSize = 12;
		Display display = shell.getDisplay ();
		final Image backgroundImage = new Image (display, imageSize, imageSize);	
		final Image foregroundImage = new Image (display, imageSize, imageSize);
		
		backgroundButton.setImage(backgroundImage);
		backgroundButton.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent event) {
				RGB rgb = backgroundDialog.open();
				if (rgb == null) return;
				Color oldColor = backgroundColor;
				backgroundColor = new Color (backgroundButton.getDisplay(), rgb);