QListView automatic scroll on selection change with keyboard

264 views Asked by At

In a QListView if you change the selection with the keyboard and it goes outside bounds (outside the viewport) the listview does not scroll to make visible the current selection. (I'd say it's the default behavior but I am not sure).

Is there a setting to automate the scrolling? (I know that with QAbstractItemView::scrollTo I can achieve that but I wonder if there's a setting to not have to intercept the change)

0

There are 0 answers