cancel
Showing results for 
Search instead for 
Did you mean: 

ScrollList animateToItem() doesn't set the offset value?

GMeur
Senior

Hello,

I'm curious to know why the animateToItem() function of the scrollList doesn't set the offset member (the value that is obtained with the function getOffset() )?

I need to use that offset to be able to set up the position of a scrollBar widget that is connected to that scrollList… Any idea of what's happening ?

Thanks in advance :)

1 REPLY 1
t.decker
Senior II

Any news on this question? I also want to add a custom scrollbar (line or box element) next to my ScollList to show the position to the user. There should be an API to get the current scroll offset, but there isn't.

Someone suggested to use a ScrollContainer (already has a scrollbar) and add a ListLayout to it, but this isn't a option, as my list can have several hundred items (and the ScrollList handles this very efficient).

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.