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] Wed, 20 February 2013 03:59 Go to next message
Li Chen is currently offline Li ChenFriend
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] Fri, 22 February 2013 00:05 Go to previous message
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
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: Sun Nov 23 13:47:38 GMT 2014

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

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