Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2011-03-21 13:39:51 -0400
committerVivian Kong2011-03-21 13:39:51 -0400
commit2981fa7e31cb5176500c936bc6f15933138d36b1 (patch)
tree913fe2660bce95e64f1ab7bf5e528c399c3aa110
parentbe3e7288754d685f456ecd22df534e50e2deff76 (diff)
downloadorg.eclipse.cdt-2981fa7e31cb5176500c936bc6f15933138d36b1.tar.gz
org.eclipse.cdt-2981fa7e31cb5176500c936bc6f15933138d36b1.tar.xz
org.eclipse.cdt-2981fa7e31cb5176500c936bc6f15933138d36b1.zip
Bug 331783 - NLS: "Clear" button label in Makefile Project preferences truncated
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
index 22d2fdd055..006c3f4154 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/DiscoveryTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 Intel Corporation and others.
+ * Copyright (c) 2007, 2011 Intel 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
@@ -44,9 +44,9 @@ import org.eclipse.cdt.managedbuilder.core.IInputType;
import org.eclipse.cdt.managedbuilder.core.IResourceInfo;
import org.eclipse.cdt.managedbuilder.core.ITool;
import org.eclipse.cdt.managedbuilder.core.IToolChain;
+import org.eclipse.cdt.managedbuilder.internal.ui.Messages;
import org.eclipse.cdt.ui.CUIPlugin;
import org.eclipse.cdt.ui.newui.CDTPrefUtil;
-import org.eclipse.cdt.managedbuilder.internal.ui.Messages;
import org.eclipse.cdt.utils.ui.controls.ControlFactory;
import org.eclipse.cdt.utils.ui.controls.TabFolderLayout;
import org.eclipse.core.resources.IProject;
@@ -237,8 +237,9 @@ public class DiscoveryTab extends AbstractCBuildPropertyTab implements IBuildInf
// "Clear" button
Button clearButton = ControlFactory.createPushButton(autoDiscoveryGroup, Messages.DiscoveryTab_Clear);
GridData gd = (GridData) clearButton.getLayoutData();
- gd.grabExcessHorizontalSpace = false;
- gd.widthHint = 80;
+ gd.grabExcessHorizontalSpace = true;
+ //Bug 331783 - NLS: "Clear" button label in Makefile Project preferences truncated
+ //gd.widthHint = 80;
gd.horizontalAlignment = SWT.RIGHT;
final Shell shell = parent.getShell();

Back to the top