So if I had an N8, and my app runing on it, my app would get two property changes? (root.width & root.height)
Could I suggest that the QML viewer app then have an option to resize the screen by swapping the screen coordinates (width & height) so that we can test our resize handlers? > Resizing is that the dimensions of the root object change. Rotation changes a > property on an object exposed by the viewer (and possibly your application). > You can respond to these however you wish, and this enables you to radically > relayout the application on size changes so as to always make the best use of >the size (e.g., past a certain size it switches to two columns, and then to >three). >Note that you can also make relative positions with bindings, not just > anchors. E.g. x: root.width/3 . -- Alan Alpert Software Engineer Nokia, Qt Development Frameworks _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
