GridData gdBATopCenter = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
GridData gdBATopCenter = new GridData(GridData.FILL_BOTH);
    private void createAlignmentPanel()    {        GridLayout glAlignment = new GridLayout();        glAlignment.verticalSpacing = 30;        glAlignment.horizontalSpacing = 20;        glAlignment.marginHeight = 15;        glAlignment.marginWidth = 5;        glAlignment.numColumns = 3;        Group cmpAlignment = new Group(cmpContent, SWT.NONE);        GridData gdCMPAlignment = new GridData(GridData.FILL_BOTH);        gdCMPAlignment.horizontalSpan = 3;        gdCMPAlignment.verticalSpan = 3;        cmpAlignment.setText("Alignment");        cmpAlignment.setLayoutData(gdCMPAlignment);        cmpAlignment.setLayout(glAlignment);        btnATopLeft = new Button(cmpAlignment, SWT.RADIO);        GridData gdBATopLeft = new GridData(GridData.GRAB_HORIZONTAL);        gdBATopLeft.heightHint = 40;        gdBATopLeft.widthHint = 46;        btnATopLeft.setToolTipText("Alignment - Top Left");        btnATopLeft.setImage(UIHelper.getImage("images/AlignmentTopLeft.gif"));        btnATopLeft.setLayoutData(gdBATopLeft);        btnATopLeft.addSelectionListener(this);        btnATopCenter = new Button(cmpAlignment, SWT.RADIO);        GridData gdBATopCenter = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnATopCenter.setToolTipText("Alignment - Top Center");        btnATopCenter.setImage(UIHelper.getImage("images/AlignmentTopCenter.gif"));        btnATopCenter.setLayoutData(gdBATopCenter);        btnATopCenter.addSelectionListener(this);        btnATopRight = new Button(cmpAlignment, SWT.RADIO);        GridData gdBATopRight = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnATopRight.setToolTipText("Alignment - Top Right");        btnATopRight.setImage(UIHelper.getImage("images/AlignmentTopRight.gif"));        btnATopRight.setLayoutData(gdBATopRight);        btnATopRight.addSelectionListener(this);        btnACenterLeft = new Button(cmpAlignment, SWT.RADIO);        GridData gdBACenterLeft = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnACenterLeft.setToolTipText("Alignment - Center Left");        btnACenterLeft.setImage(UIHelper.getImage("images/AlignmentCenterLeft.gif"));        btnACenterLeft.setLayoutData(gdBACenterLeft);        btnACenterLeft.addSelectionListener(this);        btnACenter = new Button(cmpAlignment, SWT.RADIO);        GridData gdBACenter = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnACenter.setToolTipText("Alignment - Center");        btnACenter.setImage(UIHelper.getImage("images/AlignmentCenter.gif"));        btnACenter.setLayoutData(gdBACenter);        btnACenter.addSelectionListener(this);        btnACenterRight = new Button(cmpAlignment, SWT.RADIO);        GridData gdBACenterRight = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnACenterRight.setToolTipText("Alignment - Center Right");        btnACenterRight.setImage(UIHelper.getImage("images/AlignmentCenterRight.gif"));        btnACenterRight.setLayoutData(gdBACenterRight);        btnACenterRight.addSelectionListener(this);        btnABottomLeft = new Button(cmpAlignment, SWT.RADIO);        GridData gdBABottomLeft = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnABottomLeft.setToolTipText("Alignment - Bottom Left");        btnABottomLeft.setImage(UIHelper.getImage("images/AlignmentBottomLeft.gif"));        btnABottomLeft.setLayoutData(gdBABottomLeft);        btnABottomLeft.addSelectionListener(this);        btnABottomCenter = new Button(cmpAlignment, SWT.RADIO);        GridData gdBABottomCenter = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnABottomCenter.setToolTipText("Alignment - Bottom Center");        btnABottomCenter.setImage(UIHelper.getImage("images/AlignmentBottomCenter.gif"));        btnABottomCenter.setLayoutData(gdBABottomCenter);        btnABottomCenter.addSelectionListener(this);        btnABottomRight = new Button(cmpAlignment, SWT.RADIO);        GridData gdBABottomRight = new GridData(GridData.HORIZONTAL_ALIGN_FILL);        btnABottomRight.setToolTipText("Alignment - Bottom Right");        btnABottomRight.setImage(UIHelper.getImage("images/AlignmentBottomRight.gif"));        btnABottomRight.setLayoutData(gdBABottomRight);        btnABottomRight.addSelectionListener(this);    }