Bug 283631 [CSS] ETabFolder in CTabFolder mode top/bottom keylines differ
bundles/org.eclipse.e4.ui.widgets/src/org/eclipse/e4/ui/widgets/ETabItem.java
Point extent = gc.textExtent(shortenedText, FLAGS);
		int textY = y + getETabParent().getTextMidline() - extent.y / 2;
		textY += parent.onBottom ? -1 : 1;
		gc.setForeground(parent.getForeground());
		gc.drawText(shortenedText, xDraw, textY, FLAGS);
		gc.setFont(gcFont);
	}
	
	if (parent.showUnselectedClose && (parent.showClose || showClose)) drawClose(gc);
}
int[] getUnselectedShape() {
	int[] shape = null;
	int[] left = ETabFolder.E_TOP_LEFT_CORNER;
	int[] right = ETabFolder.E_TOP_RIGHT_CORNER;
	
	int topOffset = getETabParent().getUnselectedTabTopOffset();
	shape = new int[left.length + 2 + right.length + 2];
	int index = 0;
	shape[index++] = x;
	shape[index++] = y + height;
	for (int i = 0; i < left.length / 2; i++) {
		shape[index++] = x + left[2 * i];
		shape[index++] = y + left[2 * i + 1] + topOffset;
	}
	int startX = x + width - 1;
	for (int i = 0; i < right.length / 2; i++) {
		shape[index++] = startX + right[2 * i];
		shape[index++] = y + right[2 * i + 1] + topOffset;
	}
	shape[index++] = startX;