Bug 145848 TVT3.2:TCT867: tw : "Reset Method" button is truncated in Report Editor
OS : RHEL 3.1 Must fix or not a must fix: YES Build date: 0605 Component name = BIRT Blocking: NO Language: tw Bitmap Location: V:\defects\cht Tester Name: Ivory Chang Problem Description: "Reset Method" button is truncated in Report Editor and can NOT be resized. Step: Start Eclipse Click Window->Open Perspective->Other On Navigator view, right click the project and select Import Select File System, and select the Test_Report_1.rptdesign and Test_Report_1.properties Click Finish Double click the Test_Report_1.rptdesign on Navigator view Select "Script" tab in Report Editor This article was reassigned from Category:''TVT/Testing''.
UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/internal/ui/editors/script/JSEditor.java
}
	/**
	 * 
	 * initEditorLayout - initialize the UI components of the editor
	 * 
	 */
	private Composite initEditorLayout( Composite parent )
	{
		
		Composite mainPane = new Composite( parent, SWT.NONE );
		GridLayout layout = new GridLayout( );
		layout.verticalSpacing = 0;
		mainPane.setLayout( layout );
		final Composite barPane = new Composite( mainPane, SWT.NONE );
		layout = new GridLayout( 4, false );
		barPane.setLayout( layout );
		GridData gdata = new GridData( GridData.FILL_HORIZONTAL );
		barPane.setLayoutData( gdata );
		
		cmbExpList = new Combo( barPane, SWT.READ_ONLY );
		GridData layoutData = new GridData( GridData.FILL_HORIZONTAL );
		cmbExpList.setLayoutData( layoutData );
		
		butReset = new Button( barPane, SWT.PUSH );
		butReset.setText( Messages.getString( "JSEditor.Button.Reset" ) ); 
		layoutData = new GridData( );
		layoutData.heightHint = 20;
		layoutData.horizontalIndent = 6;
		butReset.setLayoutData( layoutData );
		butReset.addSelectionListener( new SelectionListener( ) {