Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-05-03 15:55:36 -0400
committerDarin Wright2010-05-03 15:55:36 -0400
commit7a0f1115df3abe090133ff320e2fb8a6e928fa48 (patch)
tree2abf33999bed26656ce00c0774ab6dd33528eb74
parentbc0ec983223bc3722718c4ec2feac02d9cd3d716 (diff)
downloadeclipse.platform.debug-7a0f1115df3abe090133ff320e2fb8a6e928fa48.tar.gz
eclipse.platform.debug-7a0f1115df3abe090133ff320e2fb8a6e928fa48.tar.xz
eclipse.platform.debug-7a0f1115df3abe090133ff320e2fb8a6e928fa48.zip
Bug 310511 - Dialog font changes affects the 'Breakpoints' view
-rwxr-xr-xorg.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java2
2 files changed, 5 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
index d8709368c..c6b56f2d8 100755
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
@@ -41,7 +41,7 @@ public class SWTFactory {
* Returns a width hint for a button control.
*/
public static int getButtonWidthHint(Button button) {
- button.setFont(JFaceResources.getDialogFont());
+ /*button.setFont(JFaceResources.getDialogFont());*/
PixelConverter converter= new PixelConverter(button);
int widthHint= converter.convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
return Math.max(widthHint, button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x);
@@ -111,7 +111,7 @@ public class SWTFactory {
}
GridData gd = new GridData();
button.setLayoutData(gd);
- SWTFactory.setButtonDimensionHint(button);
+ setButtonDimensionHint(button);
return button;
}
@@ -138,7 +138,7 @@ public class SWTFactory {
}
GridData gd = new GridData(fill);
button.setLayoutData(gd);
- SWTFactory.setButtonDimensionHint(button);
+ setButtonDimensionHint(button);
return button;
}
@@ -177,7 +177,7 @@ public class SWTFactory {
}
GridData gd = new GridData();
button.setLayoutData(gd);
- SWTFactory.setButtonDimensionHint(button);
+ setButtonDimensionHint(button);
return button;
}
@@ -201,7 +201,7 @@ public class SWTFactory {
GridData gd = new GridData(GridData.BEGINNING);
gd.horizontalSpan = hspan;
button.setLayoutData(gd);
- SWTFactory.setButtonDimensionHint(button);
+ setButtonDimensionHint(button);
return button;
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
index c118aff00..3c43057a4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java
@@ -293,7 +293,6 @@ public class LaunchConfigurationTabGroupViewer {
Composite buttonComp = SWTFactory.createComposite(blComp, 2, 1, GridData.HORIZONTAL_ALIGN_END);
fApplyButton = SWTFactory.createPushButton(buttonComp, LaunchConfigurationsMessages.LaunchConfigurationDialog__Apply_17, null,GridData.HORIZONTAL_ALIGN_END);
- SWTFactory.setButtonDimensionHint(fApplyButton);
fApplyButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
handleApplyPressed();
@@ -301,7 +300,6 @@ public class LaunchConfigurationTabGroupViewer {
});
fRevertButton = SWTFactory.createPushButton(buttonComp, LaunchConfigurationsMessages.LaunchConfigurationDialog_Revert_2, null, GridData.HORIZONTAL_ALIGN_END);
- SWTFactory.setButtonDimensionHint(fRevertButton);
fRevertButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent evt) {
handleRevertPressed();

Back to the top