Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » business.theme and CoolItem background issue(cant modify the background of coolitem when using this them)
business.theme and CoolItem background issue [message #906662] Sun, 02 September 2012 06:02 Go to next message
Nir Zinger is currently offline Nir ZingerFriend
Messages: 5
Registered: July 2012
Junior Member
at first I used my own theme which used my own CSS.
the CSS worked fine.. but I had some issues with the size of the application (RAP Widget are bigger then SWT's).
so i decided to use the

The problem is that CoolBar that created this way:
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
      Control coolBar = configurer.createCoolBarControl(parent);

is creating CoolItems with white background. and I cant find a way to modify the background.
CSS not affecting it... or any other "magics" I tried.
is it a bug? or I miss something ?

im new to CSS also, but as it worked in my private theme, i dont see why it shouldnt work here.
here is the simple CSS I use for testing this.

ToolBar {
  background-color: transparent;

ToolItem {
  background-color: transparent;

CoolBar {
  background-color: transparent;

CoolItem {
  background-color: transparent;
Re: business.theme and CoolItem background issue [message #906894 is a reply to message #906662] Sun, 02 September 2012 22:07 Go to previous message
Chris Fairhall is currently offline Chris FairhallFriend
Messages: 197
Registered: February 2011
Senior Member
There doesn't seem to be any theme definition for CoolItem {}.
Make sure the controls you're setting with CoolItem.setControl aren't setting their own background colours.
The business theme also has come custom variants specific to the Workbench
Previous Topic:Tycho build of feature including RAP
Next Topic:[New Target Problem] Custom Theming of CTabFolder
Goto Forum:

Current Time: Sun Jun 24 17:15:06 GMT 2018

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

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

Back to the top