Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to style MHandledItem
How to style MHandledItem [message #1011690] Tue, 19 February 2013 22:59 Go to next message
Li Chen is currently offline Li Chen
Messages: 20
Registered: July 2011
Location: Sydney
Junior Member
I am wondering whether we can use css to style MHandledItem directly. I tried this:
 
.MHandledItem {
    background-color: #FF0000;
}

and doesn't work.

Also, could someone tell me how to check whether an element can be styled in e4 please?
I found something in this link that talks about mapping:
http://wiki.eclipse.org/E4/CSS/SWT_Mapping
but it's not a complete set. And I also want to know the application of css Pseudo classes (what element supports what classes).

Thanks,
Re: How to style MHandledItem [message #1012642 is a reply to message #1011690] Thu, 21 February 2013 19:05 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 596
Registered: December 2010
Senior Member

I'm not a CSS guru but I don't think you can style handled items that way.

CSS spy and scratchpad from the e4 tools(google them) should help for your other question.
Previous Topic:e4 Tooling for Eclipse 4.3/Kepler Milestone releases?
Next Topic:Howto get defining Bundle from an Addon in Fragment?
Goto Forum:
  


Current Time: Fri Jul 25 14:23:55 EDT 2014

Powered by FUDForum. Page generated in 0.01754 seconds