[Solved] Vertical ListView in horizontal ListView
-
wrote on 13 Dec 2010, 15:03 last edited by
I wonder if there are any nice solutions to my problem?
For example:
I have a horizontal ListView which contains vertical ListViews, one for each day of the week. There's no problem panning the vertical ListView for one day but I'm not able to pan to another day since it seems that the vertical ListView eats the horizontal panning gestures.
Any ideas?
-
wrote on 14 Dec 2010, 00:11 last edited by
I was solving the same problem as you and it works for me. Please see "this topic.":http://developer.qt.nokia.com/forums/viewthread/1832/
-
wrote on 15 Dec 2010, 19:39 last edited by
I solved it!
In my delegate I had:
@
ListView { id: view; ... }Component { id: dayDelegate Item { id: wrapper width: parent.width height: parent.height ...
@
but I should have used:
@
ListView { id: view; ... }Component { id: dayDelegate Item { id: wrapper width: view.width height: view.height ...
@
In other words, I have to use the id of the list view and not parent.
-
wrote on 20 Oct 2011, 07:57 last edited by
can you flick now in two directions ( horizontal and vertical)?
-
wrote on 20 Oct 2011, 12:09 last edited by
Yes, it works for me.