Important: Please read the Qt Code of Conduct -

ScrollView not scrolling on mouse click-and-drag.

  • I'm using Qt 5.3 and I'm trying to embed a ListView inside a ScrollView.

    The ListView by itself (when not embedded inside of a ScrollView) is able to be scrolled via both scrolling with the mouse wheel and clicking-and-dragging with the mouse. The ListView can even bounce and snap back when you scroll past the edge of the list.

    However, when I try to embed the ListView inside of a ScrollView, I can no longer click-and-drag to scroll the list (I can still scroll with the mouse wheel), and the list doesn't bounce and snap back when I scroll past the bounds. What am I missing?

Log in to reply