mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
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
This commit is contained in:
parent
daf324f54c
commit
1e12d45919
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue