Hi all!

I created a simple custom scroll panel by using an AbsolutePanel as
the base panel and a SimplePanel for the scrollable content. The
Scroll bar is also just a SimplePanel. The scrolling of an existing
content works without any problems.

The problem:
1. I want the scroll bar to be displayed only when the scrollable
content is larger (higher) than the base panel.
2. So far I have to start the check whether the scroll widget is
visible or not whenever I add something to the scrollable content. So
the check is not initiated by the scrollpanel class itself.
3. To make the class able to do this check on its own, I would need a
handler which is triggered whenever the size of the scrollable content
changes. The onResize  handler unfortunately is not triggered in this
case.

Do you have any ideas?

Thanks!
meiaestro

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

Reply via email to