[Qt-qml] Flickable height
thierry.bastian at nokia.com
thierry.bastian at nokia.com
Thu Sep 23 14:54:59 CEST 2010
Hi,
I'm trying to help the QML Enablers project with getting gesture area to work on top of Flickable . The first strange thing I encountered happens with the following code:
import Qt 4.7
import Qt.labs.gestures 2.0
Flickable {
width: 380; height: 600
contentHeight : 900
Rectangle {
color: "red"
x: 0; y:0; width: parent.width; height: (parent.height/2)
}
}
Here I would expect my rectangle to be 300px tall (height/2) but I get 450px (contentHeight/2). Is that a bug?
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100923/a4dce0f6/attachment.html
More information about the Qt-qml
mailing list