Bug 144489 TVT3.2:TCT781: pl: List is too narrow
OS : RHEL 3.1 Must fix or not a must fix: NO Build date: 0529 Component name: BIRT Blocking: NO Language: pl Bitmap Location: V:\defects\pl\.20.002210.jpg Tester Name: Marek Gaskiewicz Steps to recreate the problem: Click Window->Open Perspective->Other->Report Design Right click anywhere on the report design Select Style->New Style context menu Select Font Problem Description: The size list is too narrow. This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FontPreferencePage.java
addField(new SeparatorFieldEditor(getFieldEditorParent(), false));
		Group group = new Group(getFieldEditorParent(), SWT.SHADOW_OUT);
		group.setText(Messages.getString("FontPreferencePage.text.Preview")); 
		GridData gd = new GridData(GridData.FILL_HORIZONTAL);
		gd.widthHint = 400;
		gd.heightHint = 100;
		gd.horizontalSpan = 4;
		group.setLayoutData(gd);
		group.setLayout(new GridLayout());
		sample = new PreviewLabel(group, SWT.NONE);
		sample.setText(Messages
				.getString("FontPreferencePage.text.PreviewContent")); 
		sample.setLayoutData(new GridData(GridData.FILL_BOTH));
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createContents(org.eclipse.swt.widgets.Composite)
	 */
	protected Control createContents(Composite parent) {
		Control ct = super.createContents(parent);
		updatePreview();
		return ct;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
	 */
	public void propertyChange(PropertyChangeEvent event) {