Hello,
Does anyone know how to change the scrollpanel CSS (specifically I
want to make the scrollbar a different colour). Any example CSS or
tips would be much appreciated (it's not in the GWT showcase).
Thanks
--
You received this message because you are subscribed to the Google Groups
Simply copy the ScrollPanel css from the google css file. Change de
gwt-ScrollPanel name to whatever you want, but only change the primary name.
Then, you have to call setStylePrimaryName on your scrollbar.
Finally, you change the css as you wish.
Christian
On Fri, Feb 12, 2010 at 11:38 AM,
Thanks for the suggestion, but ScrollPanel doesn't exist in
standard.css (or if i've missed it, could you please post the google
css here?)
I've been trying a couple of things. The most successful is the below
which works on IE but not Firefox or Chrome.
Any other ideas?
.
.scroll{
It's simply because there's no style in standard .css.
Anyway a scroll panel is simply a div with overflow set to scroll.
It's not css standard to be able to customize it... I didn't pay attention
to what widget you wanted to customize, I simply explained how we customize
a widget in general.