Wednesday, November 25, 2009

Re: ScrollPanel - how to alter scrolling behavior

You might be able to add a key listener to the scroll panel and use
scrollTop to have it progressively jump down the elements inside the
scrollpanel when the user hits down/up.

On Nov 24, 9:33 am, Bruce Petro <brucepe...@gmail.com> wrote:
> I have a scroll panel that I fill with several lines of text, but I only
> display one line at a time.
> Currently if I click on the down arrow, it scrolls a pixel or two at a time
> requiring 8-10 clicks to get to the next text line.
>
> Is there a way to tie into the scrolling nature and have it scroll (either
> up or down) by the number of pixels (let's say 20 px) that equate to each
> line of text?

--

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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate