Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Styling Part Tabs
Styling Part Tabs [message #1786779] Fri, 11 May 2018 08:27
Mihael Schmidt is currently offline Mihael SchmidtFriend
Messages: 81
Registered: August 2010

I got a pure e4 RCP application and would like to add some CSS styles to my application.

I have multiple part stacks with multiple parts per stack. I would like to have three different colors for the parts.

- default part color
- part which is on top in the stack
- part which is currently (actively) used by the user

And I would like to have the tab of the part in the same color.

I started with

CTabFolder {
    color: #dddddd;
    swt-tab-renderer: url('bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering');
    padding: 0px 2px 2px;
    swt-tab-outline: #292929; /* border color for selected tab */
    swt-outer-keyline-color: #292929; /* border color for whole tabs container */
    swt-unselected-tabs-color: #2f2f2f; /* title background for unselected tab */
    swt-selected-tab-fill: #292929; /* title background for selected tab */
    swt-shadow-visible: false;
    swt-corner-radius: 16px;
    swt-unselected-hot-tab-color-background: #161616; /* Bug 465711 */

.MPartStack CTabItem {

.MPartStack CTabItem:selected {

Everythings works except the color of the part and tab of the part in the part stack which is on top but not actively used by the user. How do I identify this one in CSS?
Previous Topic:Feature request
Next Topic:Application Life Cycle - PostContextCreate not called
Goto Forum:

Current Time: Mon Apr 19 21:28:00 GMT 2021

Powered by FUDForum. Page generated in 0.01307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top