Bug 339737 Switching perspectives has trim layout issues
If you switch to a perspective that has minimized stacks the vertical trim bar's layout is not correct...
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java
private static String trimURI = "platform:/plugin/org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.minmax.TrimStack"; 
	static String ID_SUFFIX = "(minimized)"; 
	
	public static String MINIMIZED = "Minimized"; 
	public static String MINIMIZED_BY_ZOOM = "MinimizedByZoom"; 
	public static String EA_MAXIMIZED = "EAMaximized"; 
	@Inject
	IEventBroker eventBroker;
	@Inject
	EModelService modelService;
	@Inject
	private IEclipseContext context;
	private EventHandler widgetListener = new EventHandler() {
		public void handleEvent(Event event) {
			final MUIElement changedElement = (MUIElement) event.getProperty(EventTags.ELEMENT);
			Object widget = event.getProperty(EventTags.NEW_VALUE);
			if (changedElement instanceof MArea && widget instanceof CTabFolder) {
				final CTabFolder ctf = (CTabFolder) widget;
				
				MPerspective persp = modelService.getPerspectiveFor(changedElement);
				if (persp != null && persp.getTags().contains(EA_MAXIMIZED))
					ctf.setMaximized(true);
				ctf.addCTabFolder2Listener(new CTabFolder2Adapter() {
					public void maximize(CTabFolderEvent event) {
						MWindow window = modelService.getTopLevelWindowFor(changedElement);
						MPerspective curPersp = modelService.getActivePerspective(window);
						curPersp.getTags().add("EAMaximized");