if (method == null) {
continue;
}
- method.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+ method.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
method.setLabelRightData(32, 0);
method.setControlRightData(100, 0);
private CategoryComposite createCategory(String CategoryName) {
CategoryComposite categoryComposite = new CategoryComposite(content, CategoryName);
- categoryComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+ categoryComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
categoryComposite.addExpansionListener(new ExpansionAdapter() {
@Override
method.setLabelRightData(50, 1);
method.setControlRightData(90, 0);
} else {
- method.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2,
+ method.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2,
1));
method.setLabelRightData(32, 0);
method.setControlRightData(100, 0);
private CategoryComposite createCategory(String CategoryName, String brief) {
CategoryComposite categoryComposite =
new CategoryComposite(categoryContainer, CategoryName, brief);
- categoryComposite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+ categoryComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
categoryComposite.addExpansionListener(new ExpansionAdapter() {
@Override