| author | John Liu | 2011-09-20 13:22:18 (EDT) |
|---|---|---|
| committer | Chris Recoskie | 2011-09-20 13:22:18 (EDT) |
| commit | 7e53088c4412e0f50229e97fb05101712e8e0482 (patch) (side-by-side diff) | |
| tree | 617bc09aab7f8fe12613b4347b474db44185cb22 | |
| parent | 6337c3d624a192fca79949497a2ab69f3a7088fc (diff) | |
| download | org.eclipse.cdt-7e53088c4412e0f50229e97fb05101712e8e0482.zip org.eclipse.cdt-7e53088c4412e0f50229e97fb05101712e8e0482.tar.gz org.eclipse.cdt-7e53088c4412e0f50229e97fb05101712e8e0482.tar.bz2 | |
Bug 356901 - TVT/DVT3.7:TCT102: DAN: Truncation of "Case Insensitive"
| -rw-r--r-- | memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java b/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java index 3b68bb4..0668fdc 100644 --- a/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java +++ b/memory/org.eclipse.cdt.debug.ui.memory.search/src/org/eclipse/cdt/debug/ui/memory/search/FindReplaceDialog.java @@ -112,6 +112,9 @@ public class FindReplaceDialog extends SelectionDialog protected final static String SEARCH_FORMAT_WRAP = "SEARCH_FORMAT_WRAP"; //$NON-NLS-1$ protected final static String SEARCH_ENABLE_FIND_NEXT = "SEARCH_ENABLE_FIND_NEXT"; //$NON-NLS-1$ + //the width of text fields of Find and Replace, increase it to 400 to fix the tvt defect 356901 + protected final static int FIND_REPLACE_TEXT_WIDTH = 400; + private IAction fFindAction = null; public FindReplaceDialog(Shell parent, IMemoryBlockExtension memoryBlock, IMemoryRenderingSite memoryView, Properties properties, IAction findAction) { @@ -549,7 +552,7 @@ public class FindReplaceDialog extends SelectionDialog fFindText = new Text(composite, SWT.BORDER); FormData data = new FormData(); data.left = new FormAttachment(fReplaceText, 0, SWT.LEFT); - data.width = 260; + data.width = FIND_REPLACE_TEXT_WIDTH; fFindText.setLayoutData(data); fFindText.setText(fProperties.getProperty(SEARCH_FIND, "")); //$NON-NLS-1$ @@ -567,7 +570,7 @@ public class FindReplaceDialog extends SelectionDialog data = new FormData(); data.top = new FormAttachment(replaceLabel, 0, SWT.CENTER); data.left = new FormAttachment(replaceLabel); - data.width = 260; + data.width = FIND_REPLACE_TEXT_WIDTH; fReplaceText.setLayoutData(data); fReplaceText.setText(fProperties.getProperty(SEARCH_REPLACE, "")); //$NON-NLS-1$ |

