当我将图像放入矩形时,它的位置是左上角。如何在调整窗口大小时将其固定在右上角?
import QtQuick 2.0
Rectangle {
id: outestRec
width: 500
height: 500
Image
{
id: imgLonnie
source: "http://www.lonniebest.com/Image/Photo/LonnieLeeBest.png";
//anchors.right: AnchorLine;
}
}