aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qmlbench/creation/delegates_label.qml
blob: 788006a48df53b9a192b73b40e79626d62f75de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick
import QmlBench
import QtQuick.Controls

CreationBenchmark {
    id: root
    count: 20
    staticCount: 1000
    delegate: Label {
        x: QmlBench.getRandom() * root.width - width
        y: QmlBench.getRandom() * root.height - height
        text: "Label"
    }
}