Answer the question
In order to leave comments, you need to log in
How to make one scroll area for 2 listviews?
I am writing a program in QT QML.
There are 2 lists (listView) on the form, you need to make a common scroll area for them. I already made a custom scrollbar, but the lists are of different lengths, plus they can expand. Therefore, when scrolling 1, the list has already scrolled to the end, and the second is only in the middle.
I tried to equalize their height by a larger one - it doesn’t work out, the height is recorded, but on the form a list with a height of 1 element is obtained. Perhaps with the layout he was smart.
The code is quite large, posted here
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question