Bug 145909 [regression] the layout of new map rule dialog is not well organized
steps to reproduce: - create a report - add a table/list - add a new map rule - notice new map rule dialog expected behavior: - the layout should be user friendly actual behavior: - it was simply not
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
return dummy;
	}
	private Button createToggleButton( Composite parent )
	{
		Composite wrapper = new Composite( parent, 0 );
		GridLayout layout = new GridLayout( );
		layout.marginWidth = 0;
		layout.horizontalSpacing = 0;
		wrapper.setLayout( layout );
		Button btn = new Button( wrapper, SWT.TOGGLE );
		GridData gdata = new GridData( );
		gdata.widthHint = 22;
		gdata.heightHint = 22;
		btn.setLayoutData( gdata );
		return btn;
	}
	private void updatePreview( )
	{
		String familyValue = getFontFamily( );
		int sizeValue = getFontSize( );
		previewLabel.setFontFamily( familyValue );
		previewLabel.setFontSize( sizeValue );
		previewLabel.setBold( bold.getSelection( ) );
		previewLabel.setItalic( italic.getSelection( ) );
		previewLabel.setForeground( ColorManager.getColor( color.getRGB( ) ) );
		previewLabel
				.setBackground( ColorManager.getColor( backColor.getRGB( ) ) );
		previewLabel.setUnderline( underline.getSelection( ) );
		previewLabel.setLinethrough( linethrough.getSelection( ) );
		previewLabel.updateView( );