Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321988 - [CSS] CTabRendering: TabItem background and not stylable
Summary: [CSS] CTabRendering: TabItem background and not stylable
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 10:02 EDT by Kai Toedter CLA
Modified: 2012-08-17 13:12 EDT (History)
2 users (show)

See Also:


Attachments
TabItem background not stylable (6.17 KB, image/png)
2010-08-06 10:05 EDT, Kai Toedter CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.