第14章:QML之Anchor

1,Anchor(錨) 用來元素的位置佈局 2,代碼 import QtQuick 2.6 //anchors(錨) //1,每一個元素都有一組錨線:left,horizontal,Center,right,top,verticalCenter,bottom //2,這些元素對應了元素中的:anchors.left,anchors.horizontalCenter等 //3,錨系統還允許爲一個元
相關文章
相關標籤/搜索