Set scrollview scroll position

thierryg

06-08-2014 09:28:50

Hi!

I would like to create a kind of anchors for my menus: some icons would automatically scroll the ScrollView to a given position.
So i'm looking for an equivalent of scrollview::setScrollPosition.
I didn't find a way to do this in the documentation...

If someone has an idea, I'll be glad to hear it.
T.

Altren

06-08-2014 12:20:48

There is ScrollView::setViewOffset(const IntPoint& _value) .