diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-28 05:27:42 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-28 05:27:42 (GMT) |
commit | a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa (patch) | |
tree | cf77131c792a8c56fb135749db5c370495c9e40a /examples/declarative/fonts | |
parent | 1e7318348848ff7f51446ae90021051a494e3cb8 (diff) | |
download | Qt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.zip Qt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.tar.gz Qt-a8f312c84d2c21f8f1c21a99f3dd3428fd16b2fa.tar.bz2 |
cleanup
Diffstat (limited to 'examples/declarative/fonts')
-rw-r--r-- | examples/declarative/fonts/fonts.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/fonts/fonts.qml b/examples/declarative/fonts/fonts.qml index 4029f8b..e68bdb6 100644 --- a/examples/declarative/fonts/fonts.qml +++ b/examples/declarative/fonts/fonts.qml @@ -22,21 +22,21 @@ Rectangle { Text { text: myText color: palette.windowText - width: parent.width; elide: "ElideRight" + width: parent.width; elide: Text.ElideRight font.family: "Times" font.pointSize: 32 } Text { text: myText color: palette.windowText - width: parent.width; elide: "ElideRight" + width: parent.width; elide: Text.ElideRight font.family: fixedFont.name font.pointSize: 32 } Text { text: myText color: palette.windowText - width: parent.width; elide: "ElideRight" + width: parent.width; elide: Text.ElideRight font.family: localFont.name font.pointSize: 32 } @@ -47,7 +47,7 @@ Rectangle { else if (webFont.status == 3) "Error loading font" } color: palette.windowText - width: parent.width; elide: "ElideRight" + width: parent.width; elide: Text.ElideRight font.family: webFont.name font.pointSize: 32 } @@ -58,7 +58,7 @@ Rectangle { else if (webFont2.status == 3) "Error loading font" } color: palette.windowText - width: parent.width; elide: "ElideRight" + width: parent.width; elide: Text.ElideRight font.family: webFont2.name font.pointSize: 32 } |