blob: 0372a9ca4ca5a6314304ac850f8f754630abe99a (
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
25
26
27
28
29
30
31
32
33
34
35
|
import Qt 4.6
Rect {
width: contents.width
height: contents.height
VerticalLayout {
width: 80
height: Text.height*4
Text {
elide: "ElideLeft"
text: "aaa bbb ccc ddd eee fff"
width: 80
color: "white"
id: Text
}
Text {
elide: "ElideMiddle"
text: "aaa bbb ccc ddd eee fff"
width: 80
color: "white"
}
Text {
elide: "ElideRight"
text: "aaa bbb ccc ddd eee fff"
width: 80
color: "white"
}
Text {
elide: "ElideNone"
text: "aaa bbb ccc ddd eee fff"
width: 80
color: "white"
}
}
}
|