QML异常:Cannot anchor to an item that isn't a parent or sibling

翻译:

无法定位到不是父项或同级项的项

 

QML的anchor必须定位父级对象或者同级对象,不能定位到其他如:同级对象的子对象

posted @ 2019-07-25 20:22  朱小勇  阅读(1836)  评论(0编辑  收藏  举报