Bug 169520 Can't enter margin of master page [05]
Can't enter margin of master page [05] Build number:2.2.0.v20061229 Steps to reproduce: 1.switch to "Master Page" in layout and go to margin 2.the original left margin is 1.25in,select the left margin data,and input"0",then "0.00" will be displayed" Expected result: Only "0" is displayed Actual result: "0.00" is displayed Error log: N/A
UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/internal/ui/views/attributes/widget/MarginsPropertyDescriptor.java
}else{
			layout.marginHeight = 0;
			layout.marginWidth = 0;
			layout.spacing = 0;
		}
		container.setLayout( layout );
		Label label = FormWidgetFactory.getInstance( ).createLabel( container,
				isFormStyle( ) );
		label.setText( provider.getDisplayName( ) );
		if(isFormStyle( ))spinner = FormWidgetFactory.getInstance( ).createSpinner( container );
		else spinner = new Spinner(container,SWT.BORDER);
		spinner.setDigits( 2 );
		spinner.setMaximum( 10000 );
		spinner.setMinimum( -10000 );
		spinner.setIncrement( 25 );
		spinner.setSelection( 0 );
		spinner.addSelectionListener( new SelectionListener( ) {
			public void widgetDefaultSelected( SelectionEvent e )
			{
				handleSelectedEvent( );
			}
			public void widgetSelected( SelectionEvent e )
			{
				handleSelectedEvent( );
			}
		} );
		if ( !isFormStyle( ) )
			combo = new CCombo( container, SWT.BORDER | SWT.READ_ONLY );
		else
			combo = FormWidgetFactory.getInstance( ).createCCombo( container,