Bug 284340 [CSS] ETabFolder.hSpace should be tabLeftMargin, CSS margin-left:
In keeping with CSS naming/semantics, the field ETabFolder.hSpace should be tabLeftMargin. The CSS would then be: ETabItem { margin-left: 3px; } Current hspace is added to the x after each tab. Instead, we should add the space before the tab. We should also implement tabRightMargin, so that one can for example have something flush leftmost against folder but space between each tab with: ETabItem { margin-left: 0px; margin-right: 3px; }
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/css2/CSSPropertyMarginSWTHandler.java
public String retrieveCSSPropertyMarginBottom(Object element,
			String pseudo, CSSEngine engine) throws Exception {
		
		return null;
	}
	public String retrieveCSSPropertyMarginLeft(Object element, String pseudo,
			CSSEngine engine) throws Exception {
		
		return null;
	}
	private GridLayout getLayout(Control control) {
		if (control == null)
			return null;
		Composite parent = control.getParent();
		if (parent == null)
			return null;
		if(parent.getData(CSSSWTConstants.MARGIN_WRAPPER_KEY) == null)
			return null;
		
		Layout layout = parent.getLayout();
		if (layout == null || ! (layout instanceof GridLayout))
			return null;
		return (GridLayout) layout;
	}
	
	private void setMargin(Object element, int side, CSSValue value) {
		if(value.getCssValueType() != CSSValue.CSS_PRIMITIVE_VALUE)
			return;
		int pixelValue = (int) ((CSSPrimitiveValue) value).getFloatValue(CSSPrimitiveValue.CSS_PX);
		Widget widget = SWTElementHelpers.getWidget(element);