Composite parent = (Composite)pane.getControl(); contentFindWrapper = new Composite(parent,SWT.NONE); contentFindWrapper.setLayout(new GridLayout()); GridData gd = new GridData(SWT.FILL,SWT.FILL,true,true); gd.verticalSpan = 2; contentFindWrapper.setLayoutData(gd); content = new Composite(contentFindWrapper, style); Text hede = new Text(contentFindWrapper,SWT.BORDER | SWT.SINGLE); hede.setText("hede"); //$NON-NLS-1$ content.setLayout(new FillLayout());