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
lb
				.setText( Messages
						.getString( "HighlightRuleBuilderDialog.text.BackgroundColor" ) ); 
		backColor = new ColorBuilder( back, 0 );
		gdata = new GridData( );
		gdata.widthHint = 50;
		backColor.setLayoutData( gdata );
		backColor.setChoiceSet( ChoiceSetFactory.getElementChoiceSet(
				ReportDesignConstants.STYLE_ELEMENT,
				StyleHandle.BACKGROUND_COLOR_PROP ) );
		backColor.setRGB( null );
		backColor.addListener( SWT.Modify, new Listener( ) {
			public void handleEvent( Event event )
			{
				previewLabel.setBackground( ColorManager.getColor( backColor
						.getRGB( ) ) );
				previewLabel.redraw( );
			}
		} );
		Composite preview = new Composite( innerParent, SWT.NONE );
		glayout = new GridLayout( );
		preview.setLayout( glayout );
		gdata = new GridData( GridData.FILL_BOTH );
		preview.setLayoutData( gdata );
		lb = new Label( preview, SWT.NONE );
		lb.setText( Messages
				.getString( "HighlightRuleBuilderDialog.text.Preview" ) ); 
		Composite previewPane = new Composite( preview, SWT.BORDER );
		glayout = new GridLayout( );
		glayout.marginWidth = 0;