1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-20 07:25:23 +02:00

Patch for bug 189003 by Jason Montojo - fixing tab order

This commit is contained in:
Vivian Kong 2007-06-21 21:22:26 +00:00
parent ffd2cee5c1
commit f139474fac

View file

@ -182,6 +182,17 @@ public class ImportExecutablePageOne extends WizardPage {
workArea.setLayoutData(new GridData(GridData.FILL_BOTH workArea.setLayoutData(new GridData(GridData.FILL_BOTH
| GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL)); | GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL));
//bug 189003: to fix the tab order on the page
if (wizard.userSelectsBinaryParser()) {
Composite binaryParserGroup = new Composite(workArea, SWT.NONE);
GridLayout layout = new GridLayout(3, false);
layout.numColumns = 3;
layout.makeColumnsEqualWidth = false;
layout.marginWidth = 0;
binaryParserGroup.setLayout(layout);
createSelectBinaryParser(binaryParserGroup);
}
Composite selectExecutableGroup = new Composite(workArea, SWT.NONE); Composite selectExecutableGroup = new Composite(workArea, SWT.NONE);
GridLayout layout = new GridLayout(); GridLayout layout = new GridLayout();
layout.numColumns = 3; layout.numColumns = 3;
@ -191,8 +202,6 @@ public class ImportExecutablePageOne extends WizardPage {
selectExecutableGroup.setLayoutData(new GridData( selectExecutableGroup.setLayoutData(new GridData(
GridData.FILL_HORIZONTAL)); GridData.FILL_HORIZONTAL));
if (wizard.userSelectsBinaryParser())
createSelectBinaryParser(selectExecutableGroup);
createSelectExecutable(selectExecutableGroup); createSelectExecutable(selectExecutableGroup);
createExecutablesRoot(selectExecutableGroup); createExecutablesRoot(selectExecutableGroup);
createExecutablesList(workArea); createExecutablesList(workArea);