Bug 335363 - 'Add Java Exception Breakpoint' dialog has truncated text
for its checkboxes if font size is increased
Change-Id: I39f6ade742d1a6ef211080c2671d0d84e70fdb0c
Signed-off-by: Mike Rennie <Michael_Rennie@ca.ibm.com>
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionTypeDialogExtension.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionTypeDialogExtension.java
index 5dbbf8c..5dbb831 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionTypeDialogExtension.java
+++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/breakpoints/AddExceptionTypeDialogExtension.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2011 IBM Corporation and others.
+ * Copyright (c) 2005, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -65,6 +65,7 @@
fCaught = fCaughtButton.getSelection();
}
});
+ ((GridData) fCaughtButton.getLayoutData()).grabExcessHorizontalSpace = true;
fUncaughtButton = SWTFactory.createCheckButton(comp, BreakpointMessages.AddExceptionDialog_16, null, fUncaught, 1);
fUncaughtButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {}
@@ -72,6 +73,7 @@
fUncaught = fUncaughtButton.getSelection();
}
});
+ ((GridData) fUncaughtButton.getLayoutData()).grabExcessHorizontalSpace = true;
return comp;
}