Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse color theme and OS L&F

So I have been trying for a couple of hours to set a dark theme for Eclipse Juno, the blinding white in your face is very tiring and strains the eyes after a short time. I managed to find a theme that darkens eclipse but still a few problems remain.

See image

  1. I have no control over the background color of the menubar. Is it possible to change it? I tried everything in Win7 "Window Color and Appearance" but aside from being able to change the fontsize of the window title the colors do not change.
  2. I have no control over the fontsize used for the titles in the various view panels of Eclipse, like the projectexplorer or editor.
  3. No control over scrollbar color.

These are minor issues but would make the end result of the themes so much better. Is it at all possible to do anything with any of those issues on Win7?

enter image description here

like image 781
arynaq Avatar asked Oct 21 '22 10:10

arynaq


2 Answers

Does this help for item 2?

The font size for the view and editor titles can be changed in Preferences. Select General->Appearance->Colors and Fonts. In the panel on the right, expand 'View and Editor Folders' and select 'Part title font' then click the 'Edit...' button.

On this subject, this Eclipse Themes plugin is also worth a look:

https://github.com/jeeeyul/eclipse-themes/

like image 51
Dave Hartnoll Avatar answered Oct 24 '22 03:10

Dave Hartnoll


This is an excellent article about Eclipse theming: http://www.vogella.com/articles/Eclipse4CSS/article.html

As for the menubar and scrollbar, the aforementioned article states:

SWT currently has some limitations for styling. For example it is not possible to style menus and table headers. In addition some platforms do not allow the styling of certain widgets, e.g. the Button or the ScrollBar widget.

In order to make these widgets fit nicely you can install custom Windows theme, such as this one: http://vi20rickrmetal12us.deviantart.com/art/Pre-Black-VS-for-Windows-7-180497508 (before you can install a custom theme, you have to patch your system with Universal Theme Patcher or similar tool).

like image 39
Matis Avatar answered Oct 24 '22 04:10

Matis