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.widgets/src/org/eclipse/e4/ui/widgets/ETabFolder.java
/*******************************************************************************
 *  Copyright (c) 2009 IBM Corporation and others.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 * 
 *  Contributors:
 *      IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.e4.ui.widgets;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.graphics.Region;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Event;
public class ETabFolder extends CTabFolder {