【发布时间】:2012-06-23 22:33:49
【问题描述】:
我有一个 QML Row 元素,里面有一个 Repeater,声明如下:
Row {
anchors.fill: parent
Repeater {
...
}
Rectangle {
height: 30
color: "black"
}
}
我想让 Rectangle 元素将其宽度从中继器的右侧扩展到父行的末尾。我该怎么做?
更新
【问题讨论】: