Bug 318903 [UI] Search Bar and Perspective switcher should always be on the same line
Right now if you resize the window it will first place the Perspetive Switcher onto the second line (where it is *not* left-aligned because the spacer control is still on the first line...).
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/TrimBarLayout.java
if (major <= spaceLeft) {
				if (minor > maxMinor)
					maxMinor = minor;
				spaceLeft -= major;
			} else {
				extraLines++;
				totalMinor += maxMinor;
				maxMinor = minor;
				spaceLeft = totalSpace - major;
			}
		}
		
		totalMinor += maxMinor;
		
		totalMinor += (extraLines * wrapSpacing);
		if (totalMinor == 0)
			totalMinor = 1; 
							
		return horizontal ? new Point(wHint, totalMinor) : new Point(
				totalMinor, hHint);
	}
	protected void layout(Composite composite, boolean flushCache) {
		composite.setRedraw(false);
		try {
			Rectangle bounds = composite.getBounds();
			int totalSpace = horizontal ? bounds.width
					- (marginLeft + marginRight) : bounds.height
					- (marginTop + marginBottom);
			List<Control> curLine = new ArrayList<Control>();
			List<Control> spacers = new ArrayList<Control>();