So simple - thanks a lot Martin. Paul
On 6/22/10 5:49 PM, Martin Jones wrote: > On Wed, 23 Jun 2010 05:34:25 am ext Paul Isaacs wrote: > >> Hi QML gurus >> >> I have several items in a GridView and when any one of those items is >> selected I want to expand it to show more details and hide the other items. >> With this in mind, I have been experimenting with modifying the >> 'recipes.qml' example to use a GridView instead of a ListView. I am >> using the state method used in this recipes example. >> I have no trouble expanding the current GridView item to fill the screen >> when clicked, but I am finding it difficult hiding the other items in >> the GridView. They always remain on top of the expanded item. >> >> What am I missing? >> > The delegate items all have the same default z value of 1 so are stacked in > the order they are created. Changing the z of the selected delegate to a > value higher than 1 in your state change will ensure it is above the other > items. > > _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
