Bug 169808 [Enhancement]Cascading parameter dialog display under low screen resolution
Build number: 2.2.0.v20070104-1300 Description: The dialog for cascading parameter can't display completely under low screen under low screen resolution.Please refer to the screen shot.This phenomenon depends on user's entironment.So may be it'll not reproduce same phenomenon.Suggest using scroll bar,or the dialog can't be used under a low screen resolution. Step to reproduce: 1. Modified screen resolution of PC to 800*600 or 1024*768 2. new a cascading parameter in a report 3. observe the dialog Actual result: As the screenshot, the dialog can't be used. Expected result: Scroll bar should be available when the dialog can't be display completely
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.ISharedImages;
import com.ibm.icu.util.ULocale;
/**
 * Cascading Parameter Dialog.
 */
public class CascadingParametersDialog extends BaseDialog
{
	private static final Image ERROR_ICON = ReportPlatformUIImages.getImage( ISharedImages.IMG_OBJS_ERROR_TSK );
	private static final String CHOICE_NULL_VALUE = Messages.getString( "CascadingParametersDialog.Choice.NullValue" ); 
	private static final String CHOICE_BLANK_VALUE = Messages.getString( "CascadingParametersDialog.Choice.BlankValue" ); 
	private static final String CHOICE_SELECT_VALUE = Messages.getString( "CascadingParametersDialog.Choice.SelectValue" ); 
	private static final String LABEL_PARAMTER_PROMPT_TEXT = Messages.getString( "CascadingParametersDialog.Label.parameterPromptText" ); 
	private static final String LABEL_VALUES = Messages.getString( "CascadingParametersDialog.Label.values" ); 
	private static final String LABEL_GROUP_GENERAL = Messages.getString( "CascadingParametersDialog.Label.group.general" ); 
	private static final String LABEL_CASCADING_PARAMETER_NAME = Messages.getString( "CascadingParametersDialog.Label.cascadingParam.name" ); 
	private static final String LABEL_GROUP_PROMPT_TEXT = Messages.getString( "CascadingParametersDialog.Label.groupPromptText" ); 
	private static final String ERROR_MSG_MISMATCH_DATA_TYPE = Messages.getString( "ParameterDialog.ErrorMessage.MismatchDataType" );