summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qfxtext/font/plaintext.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/qfxtext/font/plaintext.qml')
-rw-r--r--tests/auto/declarative/visual/qfxtext/font/plaintext.qml15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/auto/declarative/visual/qfxtext/font/plaintext.qml b/tests/auto/declarative/visual/qfxtext/font/plaintext.qml
index c58b95c..f219e09 100644
--- a/tests/auto/declarative/visual/qfxtext/font/plaintext.qml
+++ b/tests/auto/declarative/visual/qfxtext/font/plaintext.qml
@@ -1,7 +1,7 @@
import Qt 4.6
Rectangle {
- id: s; width: 800; height: 800; color: "lightsteelblue"
+ id: s; width: 800; height: 1000; color: "lightsteelblue"
property string text: "The quick brown fox jumps over the lazy dog."
Column {
@@ -16,7 +16,7 @@ Rectangle {
text: s.text; font.pointSize: 25
}
Text {
- text: s.text; color: "red"
+ text: s.text; color: "red"; smooth: true
}
Text {
text: s.text; font.capitalization: "AllUppercase"
@@ -25,7 +25,7 @@ Rectangle {
text: s.text; font.underline: true
}
Text {
- text: s.text; font.overline: true
+ text: s.text; font.overline: true; smooth: true
}
Text {
text: s.text; font.strikeout: true
@@ -72,5 +72,14 @@ Rectangle {
Text {
text: s.text; elide: Text.ElideRight; width: 200
}
+ Text {
+ text: s.text; elide: Text.ElideLeft; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideMiddle; width: 200; wrap: true
+ }
+ Text {
+ text: s.text; elide: Text.ElideRight; width: 200; wrap: true
+ }
}
}