Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Evoy2004-06-15 19:37:27 +0000
committerSean Evoy2004-06-15 19:37:27 +0000
commitce20e117106d91db02f3037ef2534867336d37be (patch)
tree809d3f2c870b7e3e4796a4138200946c80d6394c /build/org.eclipse.cdt.managedbuilder.ui/src
parent9dc1941ea9e017399b324445c5a26d4802bfc152 (diff)
downloadorg.eclipse.cdt-ce20e117106d91db02f3037ef2534867336d37be.tar.gz
org.eclipse.cdt-ce20e117106d91db02f3037ef2534867336d37be.tar.xz
org.eclipse.cdt-ce20e117106d91db02f3037ef2534867336d37be.zip
Commit for Tanya Wolff for bug 61461. Removed intermediate composites to allow groupings to be readable by screenreader in the Manage Configuration dialog.
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java22
1 files changed, 6 insertions, 16 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java
index b89e10ad48..f2ab605760 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ManageConfigDialog.java
@@ -240,14 +240,9 @@ public class ManageConfigDialog extends Dialog {
deletedConfigLabel.setText(ManagedBuilderUIMessages.getResourceString(DELETED_CONFIGS));
deletedConfigLabel.setLayoutData(new GridData());
- // Create the current config list
- final Composite currentComp = new Composite(configListGroup, SWT.NULL);
- currentComp.setFont(configListGroup.getFont());
- currentComp.setLayout(new GridLayout(1, true));
- currentComp.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- currentConfigList = new List(currentComp, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
- currentConfigList.setFont(currentComp.getFont());
+ // Create the current config List
+ currentConfigList = new List(configListGroup, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
+ currentConfigList.setFont(configListGroup.getFont());
data = new GridData(GridData.FILL_BOTH);
data.widthHint = (IDialogConstants.ENTRY_FIELD_WIDTH / 2);
currentConfigList.setLayoutData(data);
@@ -308,14 +303,9 @@ public class ManageConfigDialog extends Dialog {
}
});
- // Create the deleted config list
- final Composite deletedComp = new Composite(configListGroup, SWT.NULL);
- deletedComp.setFont(configListGroup.getFont());
- deletedComp.setLayout(new GridLayout(1, true));
- deletedComp.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- deletedConfigList = new List(deletedComp, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
- deletedConfigList.setFont(deletedComp.getFont());
+ //Create the deleted config list
+ deletedConfigList = new List(configListGroup, SWT.SINGLE|SWT.V_SCROLL|SWT.H_SCROLL|SWT.BORDER);
+ deletedConfigList.setFont(configListGroup.getFont());
data = new GridData(GridData.FILL_BOTH);
data.widthHint = (IDialogConstants.ENTRY_FIELD_WIDTH / 2);
deletedConfigList.setLayoutData(data);

Back to the top