QML Tutorial 1 - Basic Types

 

Anchor-based Layout in QML

limitations:

you can only anchor an item to its siblings and direct parent。

局限性:只能anchor到兄弟节点和父节点

 

查看qml结果:使用qmlviewer

bin/qmlviewer $QTDIR/examples/declarative/tutorials/helloworld/tutorial1.qml

posted on 2011-07-27 10:31  katago  阅读(334)  评论(0编辑  收藏  举报