Skip to content

Commit

Permalink
Fixed bug 3151
Browse files Browse the repository at this point in the history
  • Loading branch information
KlasJoensson committed May 23, 2012
1 parent 90620ef commit 9f92362
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -27,10 +27,7 @@
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.PlatformUI;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.smiles.smarts.SMARTSQueryTool;
import org.openscience.cdk.smiles.smarts.parser.TokenMgrError;


public class AddEditSmartsDialog extends TitleAreaDialog{

Expand Down Expand Up @@ -68,8 +65,7 @@ protected Control createDialogArea(Composite parent) {

Composite area = (Composite) super.createDialogArea(parent);
Composite container = new Composite(area, SWT.NONE);
container.setLayoutData(new GridData(GridData.FILL_BOTH));

container.setLayoutData(new GridData(600, 60));
txtName = new Text(container, SWT.BORDER);
txtName.setBounds(20, 30, 180, 30);
if (name!=null)
Expand Down

0 comments on commit 9f92362

Please sign in to comment.