tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     width: childrenRect.width
       
     5     height: childrenRect.height
       
     6     Column {
       
     7         width: 80
       
     8         height: myText.height*4
       
     9         Text {
       
    10             elide: "ElideLeft"
       
    11             text: "aaa bbb ccc ddd eee fff"
       
    12             width: 80
       
    13             id: myText
       
    14         }
       
    15         Text {
       
    16             elide: "ElideMiddle"
       
    17             text: "aaa bbb ccc ddd eee fff"
       
    18             width: 80
       
    19         }
       
    20         Text {
       
    21             elide: "ElideRight"
       
    22             text: "aaa bbb ccc ddd eee fff"
       
    23             width: 80
       
    24         }
       
    25         Text {
       
    26             elide: "ElideNone"
       
    27             text: "aaa bbb ccc ddd eee fff"
       
    28             width: 80
       
    29         }
       
    30     }
       
    31 }