Search code examples
eclipsescrollbareclipse-neon

How to enable ScrollBar theme in eclipse 4.6 dark theme under Ubuntu 14.04?


According to this,scrollbar color can be changed under eclipse 4.6 dark theme:

https://www.eclipse.org/eclipse/news/4.6/platform.php

I have added this:

-Dswt.enable.themedScrollBar=true

and change ..plugins/org.eclipse.ui.themes_1.1.100.v20160411-1921/css/dark/e4-dark_globalstyle.css 's

swt-scrollbar-themed: false;

to

swt-scrollbar-themed: true;

but nothing happened,so how to do it correctly?

update:add a screenshot of eclipse enter image description here


Solution

  • The scroll bar theme support currently only works for controls based on StyledText. So most text based editors, but not form based editors. It does not currently work for views based on trees and tables (support for this may be in Eclipse 4.7).

    It looks like the pydev editor does not support the scroll bar theming.