Project: Eclipse_Platform_UI
Bug 284340 [CSS] ETabFolder.hSpace should be tabLeftMargin, CSS margin-left:
Reported: 2009-07-22 17:42:47 | Status: resolved fixed

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; }

Files changed in fix:
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/css2/CSSPropertyMarginSWTHandler.java bundles/org.eclipse.e4.ui.widgets/src/org/eclipse/e4/ui/widgets/ETabFolder.java