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
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