Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create custom scrollBar in CustomScrollPanel (GWT 2.4)? [duplicate]

Tags:

html

css

gwt

I would like to put in my own graphics instead of the OS dependent boring scrollbars for the website I'm building. Is there a way to do this in GWT?

like image 988
Kasturi Avatar asked Jan 21 '26 20:01

Kasturi


1 Answers

The best solution i found is to create my own scroll panel. The scroll bar is wrapped around a Focus panel. I've added Mousedown, mousemove and mouseout handlers to the focus panel. Recording the mouse movements and moving the contents accordingly.

like image 119
Kasturi Avatar answered Jan 23 '26 08:01

Kasturi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!