cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll list, control how far the last element is scrolled.

Henrik76
Associate

Hi

I've added a scroll list with 10 elements to my view. It works without issues but I would like to change how far it scrolls.

When I scroll up, the list stops when the last element has reached the top of the area. I would like the scroll to stop as soon as the last element is fully visible at the bottom of the area. Is this possible?

If I use a scrollable container I can get this behavior, but I would like to use a list.

/Henrik

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Henrik76 ,

Unfortunately, it is not possible to have similar behavior as Scroll Container because Scroll List uses animations and requires different handling. However, you can use Padding Before to force covering the space at the end, but then you will have space at the beginning. 
I hope this helps you, don't hesitate to ask more questions.

Mohammad MORADI
ST Software Developer | TouchGFX

View solution in original post

3 REPLIES 3

Hello @Henrik76 ,

Unfortunately, it is not possible to have similar behavior as Scroll Container because Scroll List uses animations and requires different handling. However, you can use Padding Before to force covering the space at the end, but then you will have space at the beginning. 
I hope this helps you, don't hesitate to ask more questions.

Mohammad MORADI
ST Software Developer | TouchGFX

Thank you for the quick reply.

I will have to make do with the scroll container.

/henrik

You're very welcome, 

Good luck

Mohammad MORADI
ST Software Developer | TouchGFX