Bug 200916 Drag the sash in dataset editor dialog will lead the buttons hidden[07]
Description: Drag the sash in dataset editor dialog will lead the buttons hidden[07] Build number: 2.2.1.v20070823-0630 Steps to reproduce: 1, New a dataset 2, Turn to dataset parameter page 3, Drag the SASH in dataset 4, Check the New button on the right of the page Expected result: The New button isn't hidden Actual result: The New button is hidden by dragging the sash
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/property/AbstractPropertyDialog.java
}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
	 */
	protected void initializeBounds( )
	{
		try
		{
			IDialogSettings setting = getDialogBoundsSettings( );
			widthHints[0] = setting.getInt( SASHFORM_LEFT );
			widthHints[1] = setting.getInt( SASHFORM_RIGHT );
		}
		catch ( NumberFormatException e )
		{
			final int total = getDefaultSize( ).x;
			widthHints[0] = (int) ( total * 0.2 );
			widthHints[1] = (int) ( total * 0.8 );
		}
		GridData data = (GridData) treeViewer.getLayoutData( );
		data.widthHint = widthHints[0];
		data = (GridData) pageContainer.getLayoutData( );
		data.widthHint = widthHints[1];
		container.layout( true );
		super.initializeBounds( );
	}