Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsstyling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/993928/#msg_993928
I try to style my application, I implemented with e4.
After looking for a complete reference, which css-elements are allowed, and after
installing e4 css style, which doesn't work at me, I am a little bit helpless.
Can give me a hint where I found this information or can you please
give me an advice what to write in my .css-file to style my selection of a list/tree/..
Thanks in advance,
Cheers
Markus]]>Markus Oley2012-12-25T23:55:44-00:00Re: styling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/994052/#msg_994052
http://wiki.eclipse.org/Eclipse4/CSS
The easiest way to experiment is to install the CSS Spy tools, available fom he install ite at:
It provides two tools, the Spy and Scratchpad. Both are opened using keyboard shortcuts (can be rebound) or through the Quick Access bar. The Spy supports introspecting across the different widgets and theur corresponding CSS. The Scratchpad supports experimenting with writing CSS to verify/understand their effect.
Oh, and to style a Tree, you can o something like:
Tree { background: yellow; }
Brian.]]>2012-12-26T08:56:46-00:00Re: styling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/994138/#msg_994138
thank you for your answer,
Spy and Scratchpad don't work for me, pressing the keys nothing happens
I need to style the selected item of a tree.
How do I have to write my css?
Thanks
Markus]]>Markus Oley2012-12-26T13:55:21-00:00Re: styling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/995936/#msg_995936
]]>Markus Oley2012-12-31T15:17:34-00:00Re: styling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/1006677/#msg_1006677
You're running a newer version: the initial key bindings I chose (Alt-Shift F4 and Control-Alt-Shift-F4) dudn't work so well on Windows and Linux. I recntly changed the bindings to Alr-Shift-F4 and -F5.
You're loading from a previously persisted model. Although the Spy installs itself on startup via a processor/addon, I've seen cases where those new bindings don't lays seem to take effect... Try clearing out your persisted state.
You don't have the spy bundle in your launch configuration.
]]>2013-02-01T12:04:57-00:00Re: styling the selected item of a list or tree
https://www.eclipse.org/forums/index.php/mv/msg/443718/1006678/#msg_1006678
You're running a newer version: the initial key bindings I chose (Alt-Shift F4 and Control-Alt-Shift-F4) dudn't work so well on Windows and Linux. I recntly changed the bindings to Alr-Shift-F4 and -F5.
You're loading from a previously persisted model. Although the Spy installs itself on startup via a processor/addon, I've seen cases where those new bindings don't lays seem to take effect... Try clearing out your persisted state.
You don't have the spy bundle in your launch configuration.
(Apologies if this is double-posted; my first reply never bowed up?)]]>2013-02-01T12:06:25-00:00