eclipse-ui-theme icon indicating copy to clipboard operation
eclipse-ui-theme copied to clipboard

File explorer selected element hardly visible

Open ghost opened this issue 11 years ago • 6 comments

img4

The selected item in the project explorer looks almost unreadable. How to change either the selected item font color or background color?

I tried to look in Windows -> Preferences -> Appearance -> Colors and Fonts -> View and Editor Folders and changed everything to black (just to check), restarted, but the colors of selected item didn't change at all.

Where else to look to change this color?

ghost avatar Jun 05 '14 06:06 ghost

Currently it's not possible, the appearance of the Tree widget is the default of your OS (Windows), only foreground/background colors can be customized. It requires a patch to SWT libraries.

guari avatar Jun 05 '14 17:06 guari

But I also have Liclipse installed as standalone parallel IDE and the tree is ok with their theme Liclipse Dark default settings. It looks like this: img6

ghost avatar Jun 05 '14 17:06 ghost

Probably, they used a custom painter for Tree to repaint the selected item and the arrows by overriding the Tree widget implementation. It's an hack, the best choice should be providing a patch to the SWT repo that adds a couple of methods to set those styles for Tree, then bind them into Eclipse CSS engine so the new properties can be used into theme's stylesheets. By the way, do you know where they publish their sources?

guari avatar Jun 06 '14 11:06 guari

Fabio decided to have LiClipse close-sourced http://marketplace.eclipse.org/content/liclipse

paulvi avatar Jun 09 '14 04:06 paulvi

Same bug still there on current Eclipse on current Ubuntu as at Feb 2022. :(

kwagnitz avatar Feb 23 '22 23:02 kwagnitz

您好!已收到!

fengjiansunren avatar Feb 23 '22 23:02 fengjiansunren