Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » IColorProvider not working with CSS
IColorProvider not working with CSS [message #1795098] Fri, 14 September 2018 09:46 Go to next message
Eclipse UserFriend
Hello

I have a Tree with a LabelProvider implementing IColorProvider.
In my application CSS there is the following declaration:
* { color: #4B5157;  }


This overrides the colors I return in IColorProvider, as soon as I remove the declaration from the CSS the IColorProvider works as expected.

Is this a bug and are there any workarounds?

In my opinion the result of a IColorProvider should override the CSS declaration.
Re: IColorProvider not working with CSS [message #1795160 is a reply to message #1795098] Mon, 17 September 2018 07:30 Go to previous message
Eclipse UserFriend
I found a workaround:

Java:
tree.setData(RWT.CUSTOM_VARIANT, "demoTree");

CSS:
.demoTree { color: transparent; }
Previous Topic:How to embed a RAP application into a JEE application
Next Topic:ContentProposalAdapter behaves different in RAP
Goto Forum:
  


Current Time: Fri Nov 07 14:53:16 EST 2025

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

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

Back to the top