I need to scroll two or more list view at once using a single scrollBar. Initially, i used Column
inside a Flickable
but scroll was not happening as expected. Later, I used ListView
and even that was not scrolling correctly.
So how to scroll a listview/layout content item with a scroll bar? Should I use ScrollView
or Flickable
or something else?
You could just use a
Flickable
with yourColumns
. I don't know how yourColumns
are laid out horizontally but if they are inside aRow
it's pretty straightforward:Even if they are not in a
Row
you could do :contentHeight: Math.max(column1.height, column2.height, ...)
Demonstration :