Hi,

Could you provide a runable example?

Br,
Martin.

From: [email protected] 
[mailto:[email protected]] On Behalf Of ext 
Alistair Adams (Nokia-MS-Qt/SiliconValley)
Sent: Thursday, 12 May 2011 2:44 PM
To: [email protected]
Subject: [Qt-qml] ListView.onAdd bizzarness

Why does the following (much simplified) fragment only work when I comment out 
the size of the item? I've been staring at my code and comparing it to the 
dynamiclist.qml code and the only difference I can see is that in my case the 
item is appended to the model from a Javascript function rather than from an 
onClicked handler.

Component {

        id: stackListDelegate

        Item {

            id: stackListDelegateItem

//            width:  stackListView.width; height: 24

            ListView.onAdd: console.log("onAdd")

        }

    }





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

Reply via email to