Fix layout of profile editor

This commit is contained in:
konsoletyper 2014-09-19 11:34:20 +04:00
parent 363ee8f6cb
commit b5b819a188

View File

@ -91,7 +91,7 @@ public class TeaVMProfileDialog extends Dialog {
Composite area = (Composite)super.createDialogArea(parent); Composite area = (Composite)super.createDialogArea(parent);
area.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); area.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
ScrolledComposite scrollContainer = new ScrolledComposite(area, SWT.V_SCROLL | SWT.H_SCROLL); ScrolledComposite scrollContainer = new ScrolledComposite(area, SWT.V_SCROLL | SWT.H_SCROLL);
scrollContainer.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, true)); scrollContainer.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
TabFolder tabFolder = new TabFolder(scrollContainer, SWT.TOP); TabFolder tabFolder = new TabFolder(scrollContainer, SWT.TOP);
scrollContainer.setContent(tabFolder); scrollContainer.setContent(tabFolder);
scrollContainer.setExpandHorizontal(true); scrollContainer.setExpandHorizontal(true);