tests/auto/declarative/qmlvisual/qdeclarativetextinput/hAlign.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Item{
       
     4     width:600;
       
     5     height:300;
       
     6     Column{
       
     7         TextInput{ 
       
     8             text: "Jackdaws love my big sphinx of quartz"; 
       
     9             horizontalAlignment: TextInput.AlignLeft;
       
    10         }
       
    11         TextInput{ 
       
    12             text: "Jackdaws love my big sphinx of quartz"; 
       
    13             horizontalAlignment: TextInput.AlignHCenter;
       
    14         }
       
    15         TextInput{ 
       
    16             text: "Jackdaws love my big sphinx of quartz"; 
       
    17             horizontalAlignment: TextInput.AlignRight;
       
    18         }
       
    19         Rectangle{ width: 600; height: 10; color: "pink" }
       
    20         TextInput{ 
       
    21             height: 30;
       
    22             width: 600;
       
    23             text: "Jackdaws love my big sphinx of quartz"; 
       
    24             horizontalAlignment: TextInput.AlignLeft;
       
    25         }
       
    26         TextInput{ 
       
    27             height: 30;
       
    28             width: 600;
       
    29             text: "Jackdaws love my big sphinx of quartz"; 
       
    30             horizontalAlignment: TextInput.AlignHCenter;
       
    31         }
       
    32         TextInput{ 
       
    33             height: 30;
       
    34             width: 600;
       
    35             text: "Jackdaws love my big sphinx of quartz"; 
       
    36             horizontalAlignment: TextInput.AlignRight;
       
    37         }
       
    38     }
       
    39 }