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
boolean customSize = !computedSize.equals( currentSize );
				widthHints[0] = data.widthHint = newWidthHint;
				data = (GridData) right.getLayoutData( );
				newWidthHint = data.widthHint - shift;
				widthHints[1] = data.widthHint = newWidthHint;
				parent.layout( true );
				
				computedSize = parent.computeSize( SWT.DEFAULT, SWT.DEFAULT );
				
				
				if ( customSize )
				{
					computedSize.x = Math.max( computedSize.x, currentSize.x );
				}
				computedSize.y = Math.max( computedSize.y, currentSize.y );
				if ( computedSize.equals( currentSize ) )
				{
					return;
				}
				parent.setSize( computedSize.x, computedSize.y );
			}
		} );
	}
	/**
	 * For the first node of tree is not default selected as it is under
	 * Windows, this method set the first node to be selected for Linux.
	 */
	private void initTreeSelection( )
	{
		PropertyNode node = getNode( getDeafultNode( ) );