上QQ阅读APP看书,第一时间看更新
Anchors and margins
Control nodes have a position and size, but they also have properties called anchors and margins. Anchors define the origin, or the reference point, for the edges of the node, relative to the parent container. Margins represent the distance from the control node's edge to its corresponding anchor. Margins update automatically when you move or resize a control node.