Bug 279269 Initial contents of the Debug view is improperly sized
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/StackModelFactory.java
boolean showCloseAlways = false;
			boolean showMinMax = false;
			int styleModifier = 0;
			if (part.getPolicy() != null && part.getPolicy().length() > 0) {
				String policy = part.getPolicy();
				if (policy.indexOf("ViewStack") >= 0) { 
					styleModifier = SWT.CLOSE;
					showMinMax = true;
				}
				if (policy.indexOf("EditorStack") >= 0) { 
					styleModifier = SWT.CLOSE;
					showCloseAlways = true;
					showMinMax = true;
				}
			}
			final CTabFolder ctf = new CTabFolder((Composite) parentWidget,
					SWT.BORDER | styleModifier);
			ctf.setUnselectedCloseVisible(showCloseAlways);
			ctf.setMaximizeVisible(showMinMax);
			ctf.setMinimizeVisible(showMinMax);
			bindWidget(part, ctf);
			ctf.setVisible(true);
			ctf.setSimple(false);
			ctf.setTabHeight(20);
			newWidget = ctf;
			final IEclipseContext folderContext = part.getContext();
			folderContext.set(IContextConstants.DEBUG_STRING, "TabFolder"); 
			final IEclipseContext toplevelContext = getToplevelContext(part);