Scrolling to the exact end or beginning of the QListView containing QStandardItems??
-
I have a QListView with a horizontal scroll bar in which QStandardItems are inserted. When I drag an item over the existing items the scroll bar moves as per the QModelIndex. But when i reach the end of the listview ,the scroll bar does'nt move to the exact end of the listview.There is some 3 to 4 pixels gap. The same problem appears when I scroll to beginning of the listview. How to scroll to the exact end or beginning of the listview during dragMoveEvent?