Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321988

Summary: [CSS] CTabRendering: TabItem background and not stylable
Product: [Eclipse Project] e4 Reporter: Kai Toedter <kai.toedter>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bsd, remy.suen
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
TabItem background not stylable none

Description Kai Toedter CLA 2010-08-06 10:02:54 EDT
In CTabRendering, the background of the tab items is hard coded (e.g. white for selected items in line 372.

This looks weird in dark themes (see attached screen shots)

A simple solution would be to introduce a css property that only supports plain colors.

A better solution would be to also support gradients, but this is a more complicated.
Comment 1 Kai Toedter CLA 2010-08-06 10:05:19 EDT
Created attachment 176037 [details]
TabItem background not stylable
Comment 2 Kai Toedter CLA 2010-08-06 10:10:02 EDT
You can test this with the current e4 Contacts demo.
Comment 3 Brian de Alwis CLA 2012-08-17 13:12:53 EDT
This was fixed some time ago.