Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSean Evoy2004-07-21 15:59:45 -0400
committerSean Evoy2004-07-21 15:59:45 -0400
commit1e12d459190a0920415d1f2a66739e098cd2786d (patch)
tree0653acfb1ee83f438c9cb0056aa1a72aebf0bb9a /build
parentdaf324f54c7fd42b6b11022cb183547ac6bbb0d0 (diff)
downloadorg.eclipse.cdt-1e12d459190a0920415d1f2a66739e098cd2786d.tar.gz
org.eclipse.cdt-1e12d459190a0920415d1f2a66739e098cd2786d.tar.xz
org.eclipse.cdt-1e12d459190a0920415d1f2a66739e098cd2786d.zip
Commit for Tanya -- fix for bugzilla 70217, a problem where long labels on a section of the build property page were overlapping the selection widget
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/ChangeLog4
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java5
2 files changed, 7 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/ChangeLog b/build/org.eclipse.cdt.managedbuilder.ui/ChangeLog
index c284f82255d..2775946dbd2 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/ChangeLog
+++ b/build/org.eclipse.cdt.managedbuilder.ui/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-21 Tanya Wolff
+ Fix for 70217: C++ Build Properties view: Platform overlaps field
+ * src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java
+
2004-06-15 Tanya Wolff
Removed intermediate composites to allow groupings to be readable by screenreader in the Manage Configuration dialog.
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java
index ad3cb49906e..bcecbe7b6e7 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java
@@ -240,9 +240,10 @@ public class BuildPropertyPage extends PropertyPage implements IWorkbenchPropert
fd.top = new FormAttachment(configSelector, 0, SWT.CENTER);
fd.right = new FormAttachment(100,0);
manageConfigs.setLayoutData(fd);
- // Anchor config combo left 5 pixels from label, top 5% below the centre, and right to the button
+ // Anchor config combo left 5 pixels from longest label, top 5% below the centre, and right to the button
+ Label longestLabel = (platformLabel.getText().length()>configLabel.getText().length()?platformLabel:configLabel);
fd = new FormData();
- fd.left = new FormAttachment(configLabel, 5);
+ fd.left = new FormAttachment(longestLabel, 5);
fd.top = new FormAttachment(55,0);
fd.right = new FormAttachment(manageConfigs, -5 , SWT.LEFT);
configSelector.setLayoutData(fd);

Back to the top