summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetext/data/rotated.qml
blob: 01eec44cfbe9ac3f0f6dba4262abd4ce9a037cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Qt 4.7

Rectangle {
    width : 200
    height : 100

    Text {
        objectName: "text"
        x: 20
        y: 20
        height : 20
        width : 80
        text : "Something"
        rotation : 30
        transformOrigin : Item.TopLeft
    }
}