Not reaching the bottom with a scroll box

Hello, i’m having a problem with a scroll box.

I made a script that adds another line to the scroll box everytime the user click on a “+” .
The issue is that when it reachs the bottom the last line is not clearly visible.

See picture :

good

bad

226902-bottom.jpg

Any idea ?

Try to use ScrollWidgetIntoView passing the last widget added. That should solve your issue:

Thank you for the answer.
it sure does the animation but the bottom line is still half out of reach.

And ScrollToEnd applied to the scroll box doesn’t work either?

Nop, doesnt work either. I’m afraid the widget is scolling already to the end.
But your comment made me think and I found the solution.
Thank you good sir, I will create an answer to explain what was going on.

Found the problem :

My widget anchor was on the top of the widget, causing the widget to glitch underneath the bottom limit of my scroll box.

bad :

226928-bad.jpg

good:

226929-good.jpg

also found a bug where if you don’t specify the widget to find in the scroll widget into view function, the editor will crash when calling the function in-game. Filling a bug report as we speak.

Thank you to vr_macro for keeping me thinking.