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
public void widgetSelected( SelectionEvent e )
			{
				setEditorText( "" ); 
				markDirty( );
			}
			public void widgetDefaultSelected( SelectionEvent e )
			{
				widgetSelected( e );
			}
		} );
		Label column = new Label( barPane, SWT.SEPARATOR | SWT.VERTICAL );
		layoutData = new GridData( );
		layoutData.heightHint = 20;
		layoutData.horizontalIndent = 10;
		column.setLayoutData( layoutData );
		ano = new Label( barPane, 0 );
		layoutData = new GridData( GridData.FILL_HORIZONTAL
				| GridData.VERTICAL_ALIGN_CENTER );
		ano.setLayoutData( layoutData );
		final Composite sep = new Composite( mainPane, 0 );
		layoutData = new GridData( GridData.FILL_HORIZONTAL );
		layoutData.heightHint = 1;
		sep.setLayoutData( layoutData );
		sep.addPaintListener( new PaintListener( ) {
			public void paintControl( PaintEvent e )
			{
				GC gc = e.gc;
				Rectangle rect = sep.getBounds( );
				gc.setForeground( ColorConstants.darkGray );
				gc.drawLine( 0, 0, rect.width, 0 );