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
public int marginTop = 0;
	public int marginBottom = 0;
	public int wrapSpacing = 0;
	public TrimBarLayout(boolean horizontal) {
		this.horizontal = horizontal;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.swt.widgets.Layout#computeSize(org.eclipse.swt.widgets.Composite
	 * , int, int, boolean)
	 */
	protected Point computeSize(Composite composite, int wHint, int hHint,
			boolean flushCache) {
		int totalSpace = horizontal ? wHint - (marginLeft + marginRight)
				: hHint - (marginTop + marginBottom);
		int totalMinor = horizontal ? (marginTop + marginBottom)
				: (marginLeft + marginRight);
		int maxMinor = 0;
		int spaceLeft = totalSpace;
		int extraLines = 0;
		Control[] kids = composite.getChildren();
		for (Control ctrl : kids) {
			if (isSpacer(ctrl))
				continue;
			ctrl.pack(true);
			Point ctrlSize = ctrl.getSize();
			int major = horizontal ? ctrlSize.x : ctrlSize.y;
			int minor = horizontal ? ctrlSize.y : ctrlSize.x;