}
private void createDestinationArea(Composite composite) {
- GridData data;
Composite fileArea = new Composite(composite, SWT.NULL);
fileArea.setLayout(new GridLayout(3, false));
fileArea.setLayoutData(
label.setText("File name:");
this.fileNameText = new Text(fileArea, SWT.BORDER);
- data = new GridData();
+ GridData data = new GridData();
data.horizontalAlignment = GridData.HORIZONTAL_ALIGN_FILL;
data.widthHint = 300;
this.fileNameText.setLayoutData(data);