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