ListBox::scrollToEnsureRowIsOnscreen() Request

Hi.

I accidentally bumped into this function, which really upgraded my ListBox.
One thing it is missing though, is the ability to set the speed of the scrolling to a lower one so it will scroll smoothly.

It calls viewport->scrollToEnsureRowIsOnscreen() so it probably should be a Viewport feature.

Thanks.

You mean to animate the scrolling?

Yep, now it uses setTopLeftPosition() which is quite brutal, it would better just scroll slowly to reveal the partially visible row.

Well, that’s a feature request that I don’t have time to think about right now, I’m afraid!