Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » CSS for line between unselected tabs
CSS for line between unselected tabs [message #1751965] Tue, 17 January 2017 09:47
Guido Grune is currently offline Guido GruneFriend
Messages: 2
Registered: January 2017
Junior Member
Hello,

I try to style an e4 rcp application with CSS. I have activated CTabRendering and most things work fine.
Now I try to color the line between two unselected tabs in the tabfolder.

http://unixzen.de/assets/Uploads/tabs.png.

The tabfolder part of my CSS looks like this:
CTabFolder{
	swt-tab-renderer:
		url(bundleclass://org.eclipse.e4.ui.workbench.renderers.swt/org.eclipse.e4.ui.workbench.renderers.swt.CTabRendering);
	swt-unselected-image-visible: true;
	swt-unselected-close-visible: true;
	swt-show-close: true;
	swt-corner-radius: 6;
	swt-shadow-visible: false;
	swt-selected-tab-fill: #f0efed; 
	swt-unselected-tabs-color: #d6d3ce 100%;
	swt-outer-keyline-color: #9e9a91;
	swt-tab-outline: #9e9a91;
	border-visible: true;
}

CTabFolder.active {
	swt-selected-tab-fill: #448b65 #f0efed; 
}

How do I color this line?

I have found the swt-inner-keyline-color attribute for the CTabRendering. In the source you can set it (CTabRendering.setInnerKeyline()) but it is never used. Is that a bug?

Guido
Previous Topic:Pure E4 Eclipse IDE replacement available?
Next Topic:Custom StatusReporter(override WorkbenchStatusReporter)
Goto Forum:
  


Current Time: Fri Nov 24 04:06:24 GMT 2017

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

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