gwt /
gwt /
a926b58d76c339411821e78696ab8e4f4b8c4503 Currently, scrolling to the far right or bottom of the ScrollPanel requires the user to access the scrollHeight property of the DOM element directly as followings:
setScrollPosition(DOM.getElementPropertyInt(getElement(), "scrollHeight"));
Fix:
Added the following convenience methods to abstract the DOM portion of the code:
scrollToTop()
scrollToBottom()
scrollToLeft()
scrollToRight()
Testing:
Manually verified the new methods scroll to the correct locations in all browsers.
Found by: jlabanca
Fixed by: jlabanca
Review by: jgw
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1765 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed