S
S
Sergey Pozdnyakov2016-01-24 01:49:28
Qt
Sergey Pozdnyakov, 2016-01-24 01:49:28

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

1 answer(s)
J
Jacob E, 2016-01-24
@Zifix

I have a feeling that it will be easier to change the concept of the interface than to implement the plan.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question