Programming a custom scrollbar with GWT

1,050 views
Skip to first unread message

Ahmet BÜTÜN

unread,
Mar 23, 2012, 8:59:40 AM3/23/12
to google-we...@googlegroups.com
Hi,

I've just published an article about programming a custom scrollbar (fully customizable) using GWT. I hope it could help someone out there...


Article is in Turkish but you can auto-translate it by using the related country flag link on the page.

thanks

--
Ahmet BÜTÜN
--------------------------------------
http://www.ahmetbutun.net
http://blog.ahmetbutun.net

Deepak Singh

unread,
Mar 23, 2012, 9:57:32 AM3/23/12
to google-we...@googlegroups.com
Hi,
 Good article.
But how to use this class to customise the default scrollbar of browsers ?

Thanks
Deepak

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Deepak Singh

Andrea Boscolo

unread,
Mar 23, 2012, 4:27:22 PM3/23/12
to google-we...@googlegroups.com
I don't know if this is related, but starting from GWT 2.3 (I think) there is a CustomScrollPanel that allows to provide custom scrollbars to override native ones. But you have to create them by yourself.
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/CustomScrollPanel.java

Relevant commit: http://gwt-code-reviews.appspot.com/1427804/

Ahmet BÜTÜN

unread,
Mar 23, 2012, 8:15:24 PM3/23/12
to google-we...@googlegroups.com
Hi Deepak,

This is not for customizing the default scrollbar of the browser. This is completely customisable widget that acts like a scrollbar.

thanks

2012/3/23 Deepak Singh <deepaks...@gmail.com>

Ahmet BÜTÜN

unread,
Mar 23, 2012, 8:17:13 PM3/23/12
to google-we...@googlegroups.com
Thanks Andrea,

I programmed this custom scrollbar widget last summer (about 9 months ago) so I could have missed (or GWT 2.3 were not released than, i dont know) this.

thanks again,

2012/3/23 Andrea Boscolo <andr...@gmail.com>
I don't know if this is related, but starting from GWT 2.3 (I think) there is a CustomScrollPanel that allows to provide custom scrollbars to override native ones. But you have to create them by yourself.
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/CustomScrollPanel.java

Relevant commit: http://gwt-code-reviews.appspot.com/1427804/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Reply all
Reply to author
Forward
0 new messages