1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

Fix for bug 312923.

This commit is contained in:
Xuan Chen 2010-05-20 18:42:19 +00:00
parent 3f5cb04a40
commit d526559c15

View file

@ -21,6 +21,7 @@
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* David McKnight (IBM) - [243495] [api] New: Allow file name search in Remote Search to not be case sensitive
* David McKnight (IBM) - [279307] NPE when select a filter remove search dialog
* Kit Lo (IBM) - [312923] TVT36:TCT252: JPN: Extra spaces in front of the second Regular expression checkbox (edit)
*******************************************************************************/
package org.eclipse.rse.internal.files.ui.search;
@ -1309,15 +1310,21 @@ public class SystemSearchPage extends DialogPage implements ISearchPage {
fileNameCaseSensitiveButton.setLayoutData(gd);
fileNameCaseSensitiveButton.setSelection(initialFileNameCaseSensitive);
// dummy label for alignment
Label dummyLabel = new Label(comp, SWT.LEFT);
dummyLabel.setText(""); //$NON-NLS-1$
gd = new GridData(GridData.BEGINNING);
gd.horizontalSpan = 2;
dummyLabel.setLayoutData(gd);
// checkbox for regex
fileNameRegexButton = new Button(comp, SWT.CHECK);
fileNameRegexButton.setText(FileResources.RESID_SEARCH_FILENAME_REGEX_LABEL);
fileNameRegexButton.setToolTipText(FileResources.RESID_SEARCH_FILENAME_REGEX_TOOLTIP);
//gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd = new GridData(GridData.HORIZONTAL_ALIGN_END);
gd.horizontalSpan = 3;
fileNameRegexButton.setLayoutData(gd);
fileNameRegexButton.setSelection(initialFileNameRegex);