Bug 199997 Edit Data Set Dialog problem
Description: In the "Edit data set" dialog, when drag vertical scroll bar in the Query page, the "User identifier quoting" will be hidden. Build version:2.2.0.v20070815-0630 Steps to reproduce: 1.Open "Edit data set" dialog, in the query page, drag the vertical scroll bar. 2.See the attached screenshot, the "User identifier quoting" will be hidden. Actual result: The "User identifier quoting" will be hidden. Expected result: "User identifier quoting" displays well. Error log: N/A.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
layout.marginWidth = 0;
		layout.marginHeight = 0;
		layout.horizontalSpacing = 2;
		pageContainer.setLayout( layout );
		pageContainer.setLayoutData( new GridData( GridData.FILL_BOTH ) );
		initialImage( );
		initialJdbcInfo( );
		Control left = createTableSelectionComposite( pageContainer );
		Sash sash = createSash( pageContainer );
		Control right = createTextualQueryComposite( pageContainer );
		setWidthHints( pageContainer, left, right );
		addDragListerner( sash, pageContainer, left, right );
		return pageContainer;
	}
	/**
	 * @param pageContainer
	 * @param left
	 * @param right
	 */
	private void setWidthHints( Composite pageContainer, Control left,
			Control right )
	{
		int leftWidth = left.computeSize( SWT.DEFAULT, SWT.DEFAULT ).x;
		int totalWidth = pageContainer.computeSize( SWT.DEFAULT, SWT.DEFAULT ).x;
		if ( (double) leftWidth / (double) totalWidth > 0.4 )
		{
			
			GridData data = (GridData) left.getLayoutData( );
			data.widthHint = (int) ( totalWidth * 0.4 );
			data = (GridData) right.getLayoutData( );