Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to style Scroll bar color?(Scrollbar color, not background color)
How to style Scroll bar color? [message #900106] Sat, 04 August 2012 04:03 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hi,

Is there a way to theme the color of the Scroll bar? From the documentation, I do not see a "color" attribute. The "background color" attribute works fine as it paints the background color of the Scroll bar the way I like, but the actually area is not themeable and it stays grey. Is this a known limitation, or is there anything I have missed?

This is the documentation that I am referring to.

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.rap.help%2Fhelp%2Fhtml%2Freference%2Ftheming%2FScrollBar.html

Thanks so much.

Ronald
Re: How to style Scroll bar color? [message #900258 is a reply to message #900106] Mon, 06 August 2012 08:44 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi!

> the way I like, but the actually area is not themeable and it stays

I'm not sure what area you are talking about. The scrollbar should be
completely themable. It's composed mainly of ScrollBar, ScrollBar-Thumb,
ScrollBar-UpButton and ScrollBar-DownButton. Those all have
background-color properties. All other colors in the scrollbar are
either part of an image or the border. Note that background-image is
painted over background-color, so you might want to set that to "none".

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to style Scroll bar color? [message #900348 is a reply to message #900258] Mon, 06 August 2012 14:58 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Thanks Tim. What I am looking for is "ScrollBar-Thumb". I missed it in the documentation. Thanks for your help!

Ronald
Previous Topic:How to style View header?
Next Topic:NPE in ProgressInfoItem.init()
Goto Forum:
  


Current Time: Wed Oct 20 01:51:31 GMT 2021

Powered by FUDForum. Page generated in 0.01484 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top