blob: 6349f7a644911fc2b80507db3d196469e1fa2f03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import QtQuick 2.0
Item {
id: main
width: 200; height: 200
Text {
id: myText
objectName: "myText"
width: parent.width
font.family: "__Qt__Box__Engine__"
font.pixelSize: 14
horizontalAlignment: Text.AlignHCenter
text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
onLineLaidOut: {
// do nothing
}
}
}
|