geert3
unread,Sep 15, 2011, 10:56:27 AM9/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
afaik the slider bar is not customizable so you either have to draw everything yourselves, or add your buttons somewhere else. You may be able to place div's on top of the scrollbar but it will be ugly and likely not cross-browser compatible.
Drawing the scrollbar yourselves is a lot of work but not impossible. For instance you take a ScrollPanel and set overflow=hidden, then draw your own little scrollbar in a bordering panel (e.g. one div and play with margin-top/margin-bottom and background-color to make it appear like a scrollbar), attach mouse events to detect drag etc. You can programmatically setVerticalScrollPosition on the ScrollPanel to make it slide to the desired position.