There is a method of the controls parent that you can call that should do
what you want. It's
scrollChildIntoView

see if that is what you were looking for.

Jim


On Fri, Jul 9, 2010 at 11:01 AM, mckwil <[email protected]> wrote:

>
> Hi,
>
> I have a couple of tall Qooxdoo widgets on a page, which has a scroll bar.
> What's the simplest way to scroll to one of these widgets (making it at the
> top / center of the screen) programatically?
>
> I know that I can set the scroll position of the scroll bar, but then I
> have
> to calculate the positions of those widgets. I'm sure there is a better way
> to do this in Qooxdoo. :)
>
> thanks,
> mckwil
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Simple-scrolling-question-tp5275411p5275411.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to