Bug 328962 [UI] The TrimBarLayout has problems with wrapping
Noticed this while making screen caps for the N&N...screen cap coming.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/TrimBarLayout.java
}
			if (horizontal)
				toTile.setLocation(majorPos, curMinor + minorOffset);
			else
				toTile.setLocation(curMinor + minorOffset, majorPos);
			if (isSpacer(toTile)) {
				majorPos += spacerWidths[spacerCount++];
			} else {
				int major = horizontal ? toTile.getSize().x
						: toTile.getSize().y;
				majorPos += major;
			}
		}
	}
	private boolean isSpacer(Control ctrl) {
		MUIElement element = (MUIElement) ctrl
				.getData(AbstractPartRenderer.OWNING_ME);
		if (element != null && element.getTags().contains(SPACER))
			return true;
		return false;
	}
	private boolean isGlue(Control ctrl) {
		MUIElement element = (MUIElement) ctrl
				.getData(AbstractPartRenderer.OWNING_ME);
		if (element != null && element.getTags().contains(GLUE))
			return true;
		return false;
	}
}