Thanks I was confused by the docs:
Attached Properties
...
    * view : ListView

But when you click on view, it then says:
ListView.view : ListView

How does the ListView.view scheme work?I would think I would only need "view" 
and that "ListView.view" would be an anonymous list view, and not know to use 
my delegate?

Thanks.

________________________________
From: Juha Turunen <[email protected]>
To: [email protected]
Sent: Wednesday, August 24, 2011 5:24 AM
Subject: Re: [Qt-qml] ListView with "spacer"

On Wed, Aug 24, 2011 at 7:18 AM, Jason H <[email protected]> wrote:

> But when I set
> height:view.contentHeight
> I get an error "can't find view" even though it is an attached property in
> the docs.

The attached property is "ListView.view" not "view".

Juha
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to