Bug 284213 [CSS] ETabFolder paddings shouldn't be averaged for text loc
When you set the ETabFolder tabTopPadding and tabBottomPadding, their values are not respected to determine the space above and below the label. Instead, their values are added together then averaged. 1) The values are added together to determine the tab height 2) The text position is determined by calling getTextMidline().
bundles/org.eclipse.e4.ui.widgets/src/org/eclipse/e4/ui/widgets/ETabFolder.java
Rectangle rectBefore = getClientArea();
		updateItems();
		Rectangle rectAfter = getClientArea();
		layout();
		if (!rectBefore.equals(rectAfter)) {
			notifyListeners(SWT.Resize, new Event());
		}
		redraw();
	}
}
public ETabItem getETabItem (int index) {
	return (ETabItem) getItem(index);
}
public ETabItem [] getETabItems() {
	
	ETabItem[] tabItems = new ETabItem [items.length];
	System.arraycopy(items, 0, tabItems, 0, items.length);
	return tabItems;
}
int getTextMidline() {
	return (tabHeight - topMargin - selectionMargin) /2 + topMargin + selectionMargin;
}
void drawBody(Event event) {
	if(! useWebbyStyling()) {
		super.drawBody(event);
		return;
	}
	
	GC gc = event.gc;
	Point size = getSize();