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/MapRuleBuilder.java
return composite;
	}
	private Composite createTitleArea( Composite parent )
	{
		int margins = 2;
		final Composite titleArea = new Composite( parent, SWT.NONE );
		FormLayout layout = new FormLayout( );
		layout.marginHeight = margins;
		layout.marginWidth = margins;
		titleArea.setLayout( layout );
		Display display = parent.getDisplay( );
		Color background = JFaceColors.getBannerBackground( display );
		GridData layoutData = new GridData( GridData.FILL_HORIZONTAL );
		layoutData.heightHint = 20 + ( margins * 3 );
		titleArea.setLayoutData( layoutData );
		titleArea.setBackground( background );
		titleArea.addPaintListener( new PaintListener( ) {
			public void paintControl( PaintEvent e )
			{
				e.gc.setForeground( titleArea.getDisplay( ).getSystemColor(
						SWT.COLOR_WIDGET_NORMAL_SHADOW ) );
				Rectangle bounds = titleArea.getClientArea( );
				bounds.height = bounds.height - 2;
				bounds.width = bounds.width - 1;
				e.gc.drawRectangle( bounds );
			}
		} );
		Label label = new Label( titleArea, SWT.NONE );
		label.setBackground( background );
		label.setFont( FontManager.getFont( label.getFont( ).toString( ), 10,