aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext/data/fontSizeMode.qml
blob: 20f7535365a4e96eb795a5fb83f9655d52b58546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import QtQuick 2.0

Item {
    width: 300
    height: 200

    Rectangle {
        anchors.fill: myText
        border.width: 1
    }

    Text {
        id: myText
        objectName: "myText"
        width: 250
        height: 41
        minimumPointSize: 8
        minimumPixelSize: 8
        font.pixelSize: 30
        font.family: "Helvetica"
    }

    TextInput { focus: true; objectName: "input" }
}