Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » IColorProvider not working with CSS
IColorProvider not working with CSS [message #1795098] Fri, 14 September 2018 13:46 Go to next message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
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.


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Re: IColorProvider not working with CSS [message #1795160 is a reply to message #1795098] Mon, 17 September 2018 11:30 Go to previous message
Flavio Donze is currently offline Flavio DonzeFriend
Messages: 211
Registered: July 2009
Location: Switzerland
Senior Member
I found a workaround:

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

CSS:
.demoTree { color: transparent; }


Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
Previous Topic:How to embed a RAP application into a JEE application
Next Topic:ContentProposalAdapter behaves different in RAP
Goto Forum:
  


Current Time: Fri Apr 26 01:03:14 GMT 2024

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

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

Back to the top