Community
Participate
Working Groups
A common complain with a dark styled Eclipse is that the Scrollbar cannot be styled. I think we could be great if we in platform.ui could register via CSS a custom drawn scrollbar. For an example for such a scrollbar please see http://www.codeaffine.com/2014/12/17/sacrilege-custom-swt-scrollbar/ For this we would need API to register the Scrollbar with widgets based on org.eclipse.swt.widgets.Scrollable. Would it be able to add API for this? We in platform.ui could use this to register a custom scrollbar for the dark theme.
Agree with OP. This UI enhancement would add a lot of value to Eclipse IDE.
Yes it should be very cool if we could fix bug with scrollbar for dark theme. In 2016, dark theme is very important and used in a lot of IDE (WebStorm, VSCode...). I would like to improve JSDT dark theme, but I cannot fix the scrollbar problem. Many thanks for your help!
(In reply to Angelo ZERR from comment #2) > Yes it should be very cool if we could fix bug with scrollbar for dark > theme. In 2016, dark theme is very important and used in a lot of IDE > (WebStorm, VSCode...). > > I would like to improve JSDT dark theme, but I cannot fix the scrollbar > problem. > > Many thanks for your help! Not sure how Frank Apple did this but he managed to replace the native scrollbar. http://www.codeaffine.com/2015/11/18/service-update-for-the-clean-sheet-eclipse-ide-look-and-feel/
(In reply to Lars Vogel from comment #3) > Not sure how Frank Apple did this but he managed to replace the native > scrollbar. > > http://www.codeaffine.com/2015/11/18/service-update-for-the-clean-sheet- > eclipse-ide-look-and-feel/ Unfortunately it is not a general solution, it works only for SOME controls: for now only trees and tables. http://www.codeaffine.com/2014/12/17/sacrilege-custom-swt-scrollbar/ Citing: ...But as a generic overlay implementation is not possible at all, for now only trees and tables adapters are available. The adapter provides access to the table instance by the method FlatScrollBarTable#getTable(). This allows to adapt also to JFace tree- and table-viewers without a problem...
Is this a dup of bug 444560?
*** Bug 540036 has been marked as a duplicate of this bug. ***
(In reply to Eric Williams from comment #5) > Is this a dup of bug 444560? Not quite, that bug ended up being solved just by adding support for native dark scrollbars.
Not necessary anymore, as the native scrollbars in Windows allow to put them into dark mode.
Note that the code in https://github.com/fappel/xiliary still works if you need more scrollbar customisation.