Hi,

Sounds like a bug.  Please submit a bug report at 
http://bugreports.qt.nokia.com with an example we can use to reproduce the 
problem.

Br,
Martin.

From: [email protected] 
[mailto:[email protected]] On Behalf Of ext 
Vijaya Bhaskar Reddy
Sent: Tuesday, 24 May 2011 2:25 PM
To: [email protected]
Subject: [Qt-qml] ListView.positionViewAtIndex(index, ListView:End) does not 
work as expected


Hi All,

I have the below code...

ListModel { id: opModel }

ListView {
id: operations
width: parent.width
anchors  { bottom: resultRect.top, top: headerAndExit.bottom }
model: opModel
delegate:listViewRow
onCountChanged: { positionViewAtIndex(count-1,ListView.End) }
}

Some where below in the code, I append a new item to the model when I get 
particular signal from C++ code :
opModel.append({"operation":basicCalc.opData})    // this gets called well.

The list scrolls to show the item inserted. But for every alternative inserts, 
ListView goes blank, and If I touch on the ListView, items displayed again.

Any help is appreciated.

Thanks,

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

Reply via email to