GridData gdEditor = new GridData(GridData.FILL_HORIZONTAL);
GridData gdEditor = new GridData(GridData.FILL_BOTH);
    private void placeComponents()    {        GridLayout glContent = new GridLayout();        glContent.marginHeight = 7;        glContent.marginWidth = 7;        glContent.verticalSpacing = 5;        Composite cmpContent = new Composite(shell, SWT.NONE);        cmpContent.setLayout(glContent);        editor = new FormatSpecifierComposite(cmpContent, SWT.NONE, formatspecifier);        GridData gdEditor = new GridData(GridData.FILL_HORIZONTAL);        editor.setLayoutData(gdEditor);        GridLayout glButtons = new GridLayout();        glButtons.numColumns = 2;        glButtons.horizontalSpacing = 5;        Composite cmpButtons = new Composite(cmpContent, SWT.NONE);        GridData gdButtons = new GridData(GridData.FILL_HORIZONTAL);        cmpButtons.setLayoutData(gdButtons);        cmpButtons.setLayout(glButtons);        btnAccept = new Button(cmpButtons, SWT.PUSH);        GridData gdBTNAccept = new GridData(GridData.HORIZONTAL_ALIGN_END);        gdBTNAccept.grabExcessHorizontalSpace = true;        btnAccept.setLayoutData(gdBTNAccept);        btnAccept.setText("   OK   ");        btnAccept.addSelectionListener(this);        btnCancel = new Button(cmpButtons, SWT.PUSH);        GridData gdBTNCancel = new GridData(GridData.HORIZONTAL_ALIGN_END);        gdBTNCancel.grabExcessHorizontalSpace = false;        btnCancel.setLayoutData(gdBTNCancel);        btnCancel.setText("Cancel");        btnCancel.addSelectionListener(this);    }